Add files via upload

This commit is contained in:
Tomáš Dvořák
2025-05-22 09:58:30 +02:00
committed by GitHub
parent f9033547ca
commit 6ee99a0679
5 changed files with 197 additions and 14 deletions
+2 -2
View File
@@ -45,11 +45,11 @@ RUN mkdir -p data && chown -R appuser:appgroup /app
USER appuser
# Expose port
EXPOSE 8080
EXPOSE 80
# Health check
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD wget --no-verbose --tries=1 --spider http://localhost:8080/ || exit 1
CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1
# Run the application
CMD ["./contact-scrape"]