chown now recursive, on all project data
This commit is contained in:
1 parent
9546093ee4
commit
5e12b93114
1 file changed
+1
-1
+1
-1
@@ -13,7 +13,7 @@ COPY --from=builder /data/src/main.js ./src/
|
|||||||
COPY --from=builder /data/dist ./dist
|
COPY --from=builder /data/dist ./dist
|
||||||
RUN yarn install --production
|
RUN yarn install --production
|
||||||
RUN adduser --disabled-password --gecos "" slowdowner
|
RUN adduser --disabled-password --gecos "" slowdowner
|
||||||
RUN chown slowdowner:slowdowner /data
|
RUN chown -R slowdowner:slowdowner /data
|
||||||
USER slowdowner
|
USER slowdowner
|
||||||
CMD yarn run start
|
CMD yarn run start
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
Reference in new issue
Block a user