workdir to /opt/app
Some checks failed
/ check (x86_64-unknown-linux-musl) (push) Waiting to run
/ clippy (push) Successful in 17s
/ tests (push) Successful in 23s
/ check (aarch64-unknown-linux-musl) (push) Successful in 36s
/ check (armv7-unknown-linux-musleabihf) (push) Has been cancelled

This commit is contained in:
asonix 2024-02-11 20:13:03 -06:00
parent 0434b92a70
commit 2207c87f45

View file

@ -11,13 +11,11 @@ USER root
RUN \
addgroup -g "${GID}" app && \
adduser -D -G app -u "${UID}" -g "" -h /opt/app app && \
apk add tini && \
chown -R app:app /mnt
apk add tini
COPY fursonabot /usr/local/bin/fursonabot
USER app
VOLUME /mnt
WORKDIR /mnt
WORKDIR /opt/app
ENTRYPOINT ["/sbin/tini", "--"]
CMD ["/usr/local/bin/fursonabot"]