File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,10 +22,11 @@ RUN mkdir -p /etc/itsdangerous/
2222RUN mkdir -p /var/log/itsdangerous/
2323RUN mkdir -p /tmp/artifacts/
2424COPY etc /etc/itsdangerous
25- RUN addgroup --system --gid 6000 apps && useradd --uid 6001 --gid 6000 app
26- RUN chown -R app:apps /etc/itsdangerous && chown -R app:apps /var/log/itsdangerous && chown -R app:apps /data/itsdangerous && chown -R app:apps /scripts
27- RUN chmod -R 755 /etc/itsdangerous && chmod -R 755 /var/log/itsdangerous && chmod -R 755 /data/itsdangerous && chmod -R 755 /scripts
28- USER app
2925COPY build/start_all.sh /scripts/start_all.sh
3026RUN chmod +x /scripts/start_all.sh
27+ RUN addgroup --system --gid 6000 apps && useradd --uid 6001 --gid 6000 app
28+ RUN chown -R app:apps /etc/itsdangerous && chown -R app:apps /var/log/itsdangerous && chown -R app:apps /scripts
29+ RUN chmod -R 755 /etc/itsdangerous && chmod -R 755 /var/log/itsdangerous && chmod -R 755 /scripts
30+ USER app
31+
3132CMD ["/bin/sh" ,"-c" ,"/scripts/start_all.sh" ]
You can’t perform that action at this time.
0 commit comments