Trying to fix that build
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
decentral1se 2021-03-30 21:50:52 +02:00
parent 943b0089d9
commit f77c7447a9
No known key found for this signature in database
GPG Key ID: 92DAD76BD9567B8A

View File

@ -1,7 +1,13 @@
FROM klakegg/hugo:latest-ext
FROM klakegg/hugo:ext-debian
EXPOSE 1313
RUN apt update && apt install -y curl git python3
EXPOSE 8000
COPY . /src/
CMD ["server", "--bind", "0.0.0.0", "--environment", "production", "--disableLiveReload", "--baseURL", "https://cloud.autonomic.zone"]
RUN git submodule update --init --recursive
ENTRYPOINT ["/bin/bash"]
CMD ["-c", "hugo && python3 -m http.server --bind 0.0.0.0 --directory public 8000"]