mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-01-09 19:32:57 -05:00
shift asset processing to webpack (#424)
also migrated SASS to latest syntax (via dart-sass) and vastly simplified light/dark theme logic
This commit is contained in:
@@ -2,7 +2,12 @@
|
||||
# https://github.com/jakejarvis/hugo-docker/blob/master/Dockerfile
|
||||
FROM ghcr.io/jakejarvis/hugo-extended:0.83.1
|
||||
|
||||
ADD package.json .
|
||||
ADD yarn.lock .
|
||||
RUN yarn install
|
||||
|
||||
# expose live-refresh server (on custom port)
|
||||
EXPOSE 1337
|
||||
|
||||
CMD ["server", "--disableFastRender", "--buildDrafts", "--buildFuture", "--port=1337", "--baseURL=/", "--appendPort=false", "--bind=0.0.0.0", "--verbose"]
|
||||
ENTRYPOINT ["yarn"]
|
||||
CMD ["start"]
|
||||
|
||||
Reference in New Issue
Block a user