diff options
author | Lukas M <lukas.mrtvy@gmail.com> | 2020-01-21 21:29:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-21 21:29:57 +0100 |
commit | 7d5c71d7aeb8f6405410c5c17de196bf10f0e285 (patch) | |
tree | c05105e9535a5674d3b849f31110e81fef10bfc7 | |
parent | 5fe53dce3c1e1d3357f614b0157dc55079dff913 (diff) | |
download | homer-7d5c71d7aeb8f6405410c5c17de196bf10f0e285.tar.gz homer-7d5c71d7aeb8f6405410c5c17de196bf10f0e285.tar.zst homer-7d5c71d7aeb8f6405410c5c17de196bf10f0e285.zip |
Create Dockerfile
-rw-r--r-- | Dockerfile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..df88934 --- /dev/null +++ b/Dockerfile | |||
@@ -0,0 +1,15 @@ | |||
1 | FROM alpine:3.11 | ||
2 | |||
3 | COPY ./ /www/ | ||
4 | |||
5 | ENV USER abc | ||
6 | ENV GROUP abc | ||
7 | ENV GID 911 | ||
8 | ENV UID 911 | ||
9 | |||
10 | RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \ | ||
11 | apk add -U darkhttpd | ||
12 | |||
13 | USER abc | ||
14 | |||
15 | ENTRYPOINT ["darkhttpd","/www/"] | ||