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

19 lines
342 B
Text
Raw Normal View History

2021-12-04 01:20:02 +00:00
ARG REPO_ARCH
FROM asonix/rust-runner:latest-linux-$REPO_ARCH
2021-12-04 01:20:02 +00:00
USER root
RUN \
2023-12-23 22:40:55 +00:00
apk add exiftool imagemagick imagemagick-heic ffmpeg && \
chown -R app:app /mnt
2021-12-04 01:20:02 +00:00
COPY pict-rs /usr/local/bin/pict-rs
2021-12-04 01:20:02 +00:00
COPY docker/prod/root/ /
USER app
EXPOSE 6669
2021-12-04 01:20:02 +00:00
EXPOSE 8080
VOLUME /mnt
ENTRYPOINT ["/sbin/tini", "--"]
2022-04-04 00:44:04 +00:00
CMD ["/usr/local/bin/pict-rs", "run"]