Docker refactoring #3018

Merged
konrad merged 6 commits from vlasov-y/frontend:main into main 2023-01-29 14:47:24 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 5cb678263f - Show all commits

View File

@ -63,6 +63,6 @@ COPY --from=builder /build/dist ./
# manage permissions
RUN chmod 0755 /docker-entrypoint.d/*.sh /etc/nginx/templates && \
chmod -R 0644 /etc/nginx/nginx.conf && \
chown -R 1000:1000 ./ /etc/nginx/conf.d /etc/nginx/templates
chown -R nginx:nginx ./ /etc/nginx/conf.d /etc/nginx/templates
# unprivileged user
USER 1000
USER nginx