2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-12-22 19:31:35 +00:00

Fix mounts in dockerfiles

This commit is contained in:
asonix 2020-06-08 09:12:12 -05:00
parent 3668101b81
commit 3b9f1f70e2
3 changed files with 3 additions and 6 deletions

View file

@ -62,11 +62,10 @@ RUN \
addgroup -g $GID pictrs && \ addgroup -g $GID pictrs && \
adduser -D -G pictrs -g "" -h /opt/pictrs pictrs adduser -D -G pictrs -g "" -h /opt/pictrs pictrs
VOLUME /mnt
RUN \ RUN \
chown -R pictrs:pictrs /mnt chown -R pictrs:pictrs /mnt
VOLUME /mnt
WORKDIR /opt/pictrs WORKDIR /opt/pictrs
USER pictrs USER pictrs
ENTRYPOINT ["/sbin/tini", "--"] ENTRYPOINT ["/sbin/tini", "--"]

View file

@ -62,11 +62,10 @@ RUN \
addgroup -g $GID pictrs && \ addgroup -g $GID pictrs && \
adduser -D -G pictrs -g "" -h /opt/pictrs pictrs adduser -D -G pictrs -g "" -h /opt/pictrs pictrs
VOLUME /mnt
RUN \ RUN \
chown -R pictrs:pictrs /mnt chown -R pictrs:pictrs /mnt
VOLUME /mnt
WORKDIR /opt/pictrs WORKDIR /opt/pictrs
USER pictrs USER pictrs
ENTRYPOINT ["/sbin/tini", "--"] ENTRYPOINT ["/sbin/tini", "--"]

View file

@ -62,11 +62,10 @@ RUN \
addgroup -g $GID pictrs && \ addgroup -g $GID pictrs && \
adduser -D -G pictrs -g "" -h /opt/pictrs pictrs adduser -D -G pictrs -g "" -h /opt/pictrs pictrs
VOLUME /mnt
RUN \ RUN \
chown -R pictrs:pictrs /mnt chown -R pictrs:pictrs /mnt
VOLUME /mnt
WORKDIR /opt/pictrs WORKDIR /opt/pictrs
USER pictrs USER pictrs
ENTRYPOINT ["/sbin/tini", "--"] ENTRYPOINT ["/sbin/tini", "--"]