mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-23 03:41:23 +00:00
asonix
4a7a51d147
Remove default security policy, since it is overridden anyway Update default value for max_area Inherit animation frame count configuration for list-length Add release document
17 lines
317 B
Docker
17 lines
317 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
|
|
|
|
USER app
|
|
EXPOSE 6669
|
|
EXPOSE 8080
|
|
VOLUME /mnt
|
|
ENTRYPOINT ["/sbin/tini", "--"]
|
|
CMD ["/usr/local/bin/pict-rs", "run"]
|