47279c72e3
- compose: testing-web 3107:80, testing-backend 3001:3001, PORT+FRONTEND_URL - nginx → testing-backend:3001; Vite 3107, proxy /api → 3001 - server default PORT 3001; Dockerfile EXPOSE 3001; CORS dev — localhost:3107 - README, журнал, user guide Made-with: Cursor
9 lines
177 B
Docker
9 lines
177 B
Docker
FROM node:20-alpine
|
|
WORKDIR /app
|
|
COPY package.json package-lock.json* ./
|
|
RUN npm ci
|
|
COPY . .
|
|
EXPOSE 3001
|
|
RUN chmod +x docker-entrypoint.sh
|
|
ENTRYPOINT ["./docker-entrypoint.sh"]
|