asonix
70ce443f14
Some checks failed
/ check (aarch64-unknown-linux-musl) (push) Has been cancelled
/ tests (push) Has been cancelled
/ check (armv7-unknown-linux-musleabihf) (push) Has been cancelled
/ check (x86_64-unknown-linux-musl) (push) Has been cancelled
/ clippy (push) Has been cancelled
/ publish-docker (push) Has been skipped
/ publish-forgejo (push) Has been skipped
/ publish-crate (push) Has been skipped
/ build (map[artifact:linux-arm32v7 platform:linux/arm/v7 target:armv7-unknown-linux-musleabihf]) (push) Failing after 6m28s
/ build (map[artifact:linux-amd64 platform:linux/amd64 target:x86_64-unknown-linux-musl]) (push) Failing after 6m3s
/ build (map[artifact:linux-arm64v8 platform:linux/arm64 target:aarch64-unknown-linux-musl]) (push) Failing after 4m20s
24 lines
427 B
Docker
24 lines
427 B
Docker
FROM alpine:3.19
|
|
|
|
ARG UID=991
|
|
ARG GID=991
|
|
|
|
ENV \
|
|
UID=${UID} \
|
|
GID=${GID}
|
|
|
|
USER root
|
|
RUN \
|
|
addgroup -g "${GID}" app && \
|
|
adduser -D -G app -u "${UID}" -g "" -h /opt/app app && \
|
|
apk add exiftool ffmpeg imagemagick imagemagick-heic tini && \
|
|
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"]
|