feat: add fullstack TypeScript template with Docker support
- 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
This commit is contained in:
17
frontend/Dockerfile.dev
Normal file
17
frontend/Dockerfile.dev
Normal file
@@ -0,0 +1,17 @@
|
||||
# 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"]
|
||||
Reference in New Issue
Block a user