update docker file
This commit is contained in:
@@ -16,8 +16,8 @@ RUN yarn install --frozen-lockfile
|
||||
# Copy source code
|
||||
COPY . .
|
||||
|
||||
# Expose port 3000 (default React dev server port)
|
||||
EXPOSE 3000
|
||||
# Expose Vite dev server port
|
||||
EXPOSE 5173
|
||||
|
||||
# Set environment variables for development
|
||||
ENV NODE_ENV=development
|
||||
@@ -25,4 +25,4 @@ ENV CHOKIDAR_USEPOLLING=true
|
||||
ENV WATCHPACK_POLLING=true
|
||||
|
||||
# Start the development server
|
||||
CMD ["yarn", "start"]
|
||||
CMD ["yarn", "dev", "--host", "0.0.0.0"]
|
||||
Reference in New Issue
Block a user