17 lines
307 B
Docker
17 lines
307 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-proxy /usr/local/bin/pict-rs-proxy
|
|
|
|
USER app
|
|
EXPOSE 8080
|
|
VOLUME /mnt
|
|
ENTRYPOINT ["/sbin/tini", "--"]
|
|
CMD ["/usr/local/bin/pict-rs-proxy", "-p", "/mnt"]
|