Public Access
1
0

fix: don't need to expose 3000 in dev

This commit is contained in:
2025-08-27 15:28:16 -04:00
parent a9f895ec76
commit 0be3c38854

View File

@@ -58,9 +58,6 @@ COPY --chown=appuser:appgroup healthcheck.js .
COPY --chown=root:root entrypoint.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/entrypoint.sh
# Expose the port the server runs on
EXPOSE 3000
# Add a healthcheck to ensure the container is running correctly.
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 \
CMD ["su-exec", "appuser", "node", "healthcheck.js"]