update docker file

This commit is contained in:
2025-11-09 22:13:28 +03:00
parent 4389d267d4
commit 9699cb51d4

View File

@@ -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"]