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:
parent
3668101b81
commit
3b9f1f70e2
3 changed files with 3 additions and 6 deletions
|
@ -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", "--"]
|
||||||
|
|
|
@ -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", "--"]
|
||||||
|
|
|
@ -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", "--"]
|
||||||
|
|
Loading…
Reference in a new issue