old
Andriy Cherniy 2022-08-11 14:08:06 +03:00
parent 7d0a2cee9c
commit edbda73d1c
2 changed files with 22 additions and 0 deletions

7
docker-compose.yml Normal file
View File

@ -0,0 +1,7 @@
version: "2"
services:
frontend:
build: frontend
restart: unless-stopped
ports:
- "9021:3000"

15
frontend/Dockerfile Normal file
View File

@ -0,0 +1,15 @@
FROM node:18-alpine
WORKDIR /app
COPY ./package.json ./
RUN npm i
COPY . .
RUN npm run build
EXPOSE 3000
CMD ["node", "build"]