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