diff --git a/Dockerfile b/Dockerfile index 8524549..2b74305 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,12 +36,12 @@ RUN adduser -S nextjs -u 1001 RUN chown -R nextjs:nodejs /app USER nextjs -# Expose port 3000 (Coolify default) -EXPOSE 3000 +# Expose port 80 (to match Caddy configuration) +EXPOSE 80 # Add healthcheck HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \ - CMD curl -f http://localhost:3000/ || exit 1 + CMD curl -f http://localhost:80/ || exit 1 # Start the server -CMD ["serve", "-s", "dist", "-l", "3000"] \ No newline at end of file +CMD ["serve", "-s", "dist", "-l", "80"] \ No newline at end of file