Files
coopcloud.tech/Dockerfile
decentral1se 91973289ae
Some checks failed
continuous-integration/drone/push Build is failing
Trying to disable git host key checking
2021-03-30 21:55:31 +02:00

18 lines
362 B
Docker

FROM klakegg/hugo:ext-debian
RUN apt update && apt install -y curl git python3
EXPOSE 8000
COPY . /src/
RUN mkdir -p ~/.ssh
RUN echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
RUN git submodule update --init --recursive
ENTRYPOINT ["/bin/bash"]
CMD ["-c", "hugo && python3 -m http.server --bind 0.0.0.0 --directory public 8000"]