workdir to /opt/app
Some checks failed
Some checks failed
This commit is contained in:
parent
0434b92a70
commit
2207c87f45
|
@ -11,13 +11,11 @@ USER root
|
||||||
RUN \
|
RUN \
|
||||||
addgroup -g "${GID}" app && \
|
addgroup -g "${GID}" app && \
|
||||||
adduser -D -G app -u "${UID}" -g "" -h /opt/app app && \
|
adduser -D -G app -u "${UID}" -g "" -h /opt/app app && \
|
||||||
apk add tini && \
|
apk add tini
|
||||||
chown -R app:app /mnt
|
|
||||||
|
|
||||||
COPY fursonabot /usr/local/bin/fursonabot
|
COPY fursonabot /usr/local/bin/fursonabot
|
||||||
|
|
||||||
USER app
|
USER app
|
||||||
VOLUME /mnt
|
WORKDIR /opt/app
|
||||||
WORKDIR /mnt
|
|
||||||
ENTRYPOINT ["/sbin/tini", "--"]
|
ENTRYPOINT ["/sbin/tini", "--"]
|
||||||
CMD ["/usr/local/bin/fursonabot"]
|
CMD ["/usr/local/bin/fursonabot"]
|
||||||
|
|
Loading…
Reference in a new issue