- Created package.json for managing workspaces (frontend and backend) - Added scripts for development, build, testing, and Docker operations - Implemented kill-dev-processes.sh script to terminate development processes gracefully
18 lines
242 B
Docker
18 lines
242 B
Docker
# Frontend Development Dockerfile
|
|
FROM node:18-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
# Package files kopieren
|
|
COPY package*.json ./
|
|
RUN npm ci
|
|
|
|
# Source code kopieren
|
|
COPY . .
|
|
|
|
# Port exposieren
|
|
EXPOSE 3000
|
|
|
|
# Development server starten
|
|
CMD ["npm", "start"]
|