From e533f4598f73e5183dbe4f51d1d9aa01b172d39f Mon Sep 17 00:00:00 2001 From: Scott Hatlen Date: Sun, 31 Jul 2022 16:39:41 -0700 Subject: [PATCH] added dockerfile --- .gitignore | 2 +- Dockerfile | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 Dockerfile diff --git a/.gitignore b/.gitignore index e2ab160..8b29b24 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -scottyah-blog/public/* +hugo-content/public/* diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0729878 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM alpine:latest + +RUN apk add --no-cache git hugo +RUN git clone https://github.com/scottyah/scottyah-blog.git +WORKDIR scottyah-blog + +EXPOSE 1313:1313 +CMD ["hugo", "server", "--bind", "0.0.0.0", "-D"]