chown now recursive, on all project data

This commit is contained in:
felixh committed 2023-11-13 12:29:30 +01:00
1 parent 9546093ee4
commit 5e12b93114
1 file changed
+1 -1
+1 -1
View File
@@ -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