This commit is contained in:
parent
943b0089d9
commit
f77c7447a9
12
Dockerfile
12
Dockerfile
@ -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"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user