1
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:
2021-06-19 17:19:01 -04:00
committed by GitHub
parent 622432c3e4
commit 363b4edf1c
105 changed files with 4061 additions and 955 deletions

View File

@@ -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"]