feat:删除开发docker文件

This commit is contained in:
oliviamn 2025-05-28 02:05:46 +08:00
parent c554bd0c2f
commit 329610088d
2 changed files with 0 additions and 37 deletions

View File

@ -1,18 +0,0 @@
FROM node:18-alpine
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy source code
COPY . .
# Expose port 3000 for development server
EXPOSE 3000
# Start development server
CMD ["npm", "start"]

View File

@ -17,25 +17,6 @@ services:
networks:
- app-network
# Development service with hot reloading
frontend-dev:
build:
context: .
dockerfile: Dockerfile.dev
ports:
- "3000:3000"
volumes:
- .:/app
- /app/node_modules
env_file:
- .env
environment:
- NODE_ENV=development
# Add your development environment variables here
# - REACT_APP_API_URL=http://localhost:8000
command: npm start
networks:
- app-network
networks:
app-network: