fix: expose additional port and set default value for WEBSERVICE_CRON in docker-compose.yml
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 4m0s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 4m0s
This commit is contained in:
@@ -104,12 +104,14 @@ COPY --from=builder --chown=pa11y:pa11y /app /app
|
||||
# Switch to non-root user
|
||||
USER pa11y
|
||||
|
||||
# Expose port
|
||||
# Expose ports
|
||||
EXPOSE 4000
|
||||
EXPOSE 3000
|
||||
|
||||
# Health check
|
||||
HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \
|
||||
CMD wget --no-verbose --tries=1 --spider http://localhost:4000/ || exit 1
|
||||
CMD wget --no-verbose --tries=1 --spider http://localhost:4000/ && \
|
||||
wget --no-verbose --tries=1 --spider http://localhost:3000/ || exit 1
|
||||
|
||||
# Start the application
|
||||
CMD ["node", "index.js"]
|
||||
|
Reference in New Issue
Block a user