fix: add production configuration file and update docker-compose to remove unnecessary environment variables
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 3m57s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 3m57s
This commit is contained in:
@@ -101,6 +101,9 @@ WORKDIR /app
|
||||
# Copy application files from builder stage
|
||||
COPY --from=builder --chown=pa11y:pa11y /app /app
|
||||
|
||||
# Copy production configuration
|
||||
COPY --chown=pa11y:pa11y production.json /app/config/production.json
|
||||
|
||||
# Switch to non-root user
|
||||
USER pa11y
|
||||
|
||||
|
Reference in New Issue
Block a user