fix: Change nginx to port 8080 (non-root user can't bind to 80)
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
This commit is contained in:
+2
-2
@@ -65,8 +65,8 @@ RUN echo '#!/bin/sh' > /app/start.sh && \
|
||||
# Switch to non-root user
|
||||
USER nodejs
|
||||
|
||||
# Expose ports (3000 for API, 80 for frontend)
|
||||
EXPOSE 3000 80
|
||||
# Expose ports (3000 for API, 8080 for frontend)
|
||||
EXPOSE 3000 8080
|
||||
|
||||
# Start both nginx and node
|
||||
CMD ["/app/start.sh"]
|
||||
|
||||
Reference in New Issue
Block a user