port
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user