security: round 3 hardening (CSRF double-submit, TRX MITM, container hardening)
This commit is contained in:
@@ -32,6 +32,8 @@ COPY --from=build --chown=app:app /app/apps/api/dist ./dist
|
||||
COPY --from=build --chown=app:app /app/apps/api/swagger.json ./swagger.json
|
||||
COPY --from=build --chown=app:app /app/apps/api/package.json ./package.json
|
||||
|
||||
RUN mkdir -p /app/logs && chown -R app:app /app/logs
|
||||
|
||||
USER app
|
||||
EXPOSE 3001
|
||||
|
||||
|
||||
Reference in New Issue
Block a user