Fix docker build
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
decentral1se 2021-07-13 10:49:59 +02:00
parent d9cee01cbe
commit 185105336d
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -1,11 +1,11 @@
FROM klakegg/hugo:latest
FROM klakegg/hugo:alpine
RUN apk add --no-cache curl git python3
RUN apk add --no-cache curl git
EXPOSE 8000
EXPOSE 1313
COPY . /src/
ENTRYPOINT ["/bin/bash"]
CMD ["-c", "hugo && python3 -m http.server --bind 0.0.0.0 --directory public 8000"]
CMD ["-c", "hugo server --appendPort='false' --bind 0.0.0.0 --baseUrl='https://beta.lumbung.space' --port='1313' -F"]