mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 19:31:35 +00:00
18 lines
342 B
Docker
18 lines
342 B
Docker
ARG REPO_ARCH
|
|
|
|
FROM asonix/rust-runner:latest-linux-$REPO_ARCH
|
|
|
|
USER root
|
|
RUN \
|
|
apk add exiftool imagemagick imagemagick-heic ffmpeg && \
|
|
chown -R app:app /mnt
|
|
|
|
COPY pict-rs /usr/local/bin/pict-rs
|
|
COPY docker/prod/root/ /
|
|
|
|
USER app
|
|
EXPOSE 6669
|
|
EXPOSE 8080
|
|
VOLUME /mnt
|
|
ENTRYPOINT ["/sbin/tini", "--"]
|
|
CMD ["/usr/local/bin/pict-rs", "run"]
|