diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-02-07 21:47:30 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-07 21:47:30 -0800 |
commit | 672bd42a799abf6fb39a0763188d8dbc88fbda66 (patch) | |
tree | 1c4264cd56aa1465ce85b4a485c77223ca0459a8 /Dockerfile | |
parent | 5fe53dce3c1e1d3357f614b0157dc55079dff913 (diff) | |
parent | fc69081c940f44f89a1faca73a321cb8e1dea3b8 (diff) | |
download | homer-672bd42a799abf6fb39a0763188d8dbc88fbda66.tar.gz homer-672bd42a799abf6fb39a0763188d8dbc88fbda66.tar.zst homer-672bd42a799abf6fb39a0763188d8dbc88fbda66.zip |
Merge pull request #12 from lukasmrtvy/master
Dockerfile
Diffstat (limited to '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..66788b4 --- /dev/null +++ b/Dockerfile | |||
@@ -0,0 +1,15 @@ | |||
1 | FROM alpine:3.11 | ||
2 | |||
3 | COPY ./ /www/ | ||
4 | |||
5 | ENV USER darkhttpd | ||
6 | ENV GROUP darkhttpd | ||
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 darkhttpd | ||
14 | |||
15 | ENTRYPOINT ["darkhttpd","/www/"] | ||