Skip to content

Commit

Permalink
add docker
Browse files Browse the repository at this point in the history
  • Loading branch information
VovaStelmashchuk committed Feb 1, 2024
1 parent 1f32265 commit 3563c67
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM node:14.16.0

WORKDIR /app

COPY package*.json ./

RUN npm install

COPY . .

EXPOSE 8080

RUN npm run build
CMD [ "npm", "run", "start" ]
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: '3.9'

services:
mixdrinks-web:
image: vovochkastelmashchuk/mixdrinks-web:0.1
container_name: mixdrinks-web
restart: always
ports:
- '4100:8080'

0 comments on commit 3563c67

Please sign in to comment.