mirror of
https://github.com/restic/rest-server.git
synced 2025-12-07 01:26:18 -08:00
15 lines
239 B
Docker
15 lines
239 B
Docker
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"]
|