mirror of
https://git.asonix.dog/asonix/pict-rs.git
synced 2024-11-25 02:51:17 +00:00
17 lines
281 B
Docker
17 lines
281 B
Docker
FROM alpine:edge
|
|
|
|
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
|
|
|
|
COPY root/ /
|
|
|
|
COPY ./pict-rs.toml /etc/pict-rs.toml
|
|
|
|
WORKDIR /opt/app
|
|
USER app
|