2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-11-10 06:25:00 +00:00
pict-rs/docker/object-storage/Dockerfile

16 lines
242 B
Text
Raw Normal View History

FROM alpine:edge
2021-10-29 01:59:11 +00:00
ARG UID=1000
ARG GID=1000
RUN \
apk add exiftool imagemagick ffmpeg && \
addgroup -g $GID app && \
adduser -h /opt/app -g "" -G app -u $UID -D app && \
chown -R app:app /mnt
2021-10-29 01:59:11 +00:00
COPY root/ /
2021-10-29 01:59:11 +00:00
WORKDIR /opt/app
USER app