2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-11-01 10:09:57 +00:00
pict-rs/docker/drone/Dockerfile

17 lines
314 B
Docker

ARG REPO_ARCH
FROM asonix/rust-runner:$REPO_ARCH-latest
USER root
RUN \
apk add exiftool imagemagick ffmpeg && \
chown -R app:app /mnt
COPY pict-rs /usr/local/bin/pict-rs
COPY docker/prod/root/ /
USER app
EXPOSE 8080
VOLUME /mnt
ENTRYPOINT ["/sbin/tini", "--"]
CMD ["/usr/local/bin/pict-rs", "-p", "/mnt"]