This commit is contained in:
2026-01-12 21:13:21 -05:00
parent 557f440256
commit 444dbe4458
5 changed files with 22 additions and 5 deletions

View File

@@ -11,8 +11,12 @@ RUN npm install
# Copy application code
COPY frontend/frontend ./
# Default port (can be overridden via environment variable)
ARG PORT=3000
ENV PORT=${PORT}
# Expose Vite dev server port
EXPOSE 3000
EXPOSE ${PORT}
# Run dev server with host 0.0.0.0 to allow access from outside container
CMD ["npm", "run", "dev", "--", "--host", "0.0.0.0"]