Init this site
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal file
@ -0,0 +1,15 @@
|
||||
FROM klakegg/hugo:latest
|
||||
|
||||
RUN apt update && \
|
||||
apt install -y \
|
||||
curl \
|
||||
git \
|
||||
python3
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
COPY . /src/
|
||||
|
||||
ENTRYPOINT ["/bin/bash"]
|
||||
|
||||
CMD ["-c", "hugo && python3 -m http.server --bind 0.0.0.0 --directory public 8000"]
|
||||
Reference in New Issue
Block a user