mirror of
https://github.com/restic/rest-server.git
synced 2025-12-07 09:36:13 -08:00
add docker image
This commit is contained in:
committed by
Zlatko Čalušić
parent
6b821132ec
commit
07b6d5facf
14
docker/Dockerfile
Normal file
14
docker/Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM alpine:3.6
|
||||
|
||||
RUN apk add --no-cache --update apache2-utils
|
||||
COPY docker/*_user rest-server /usr/bin/
|
||||
COPY docker/entry.sh /
|
||||
|
||||
ENV DATA_DIRECTORY=/data
|
||||
ENV PASSWORD_FILE=/data/.htpasswd
|
||||
|
||||
VOLUME /data
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
ENTRYPOINT ["/entry.sh"]
|
||||
Reference in New Issue
Block a user