Skip to content

Commit

Permalink
feat: add dockerfile and docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelncarvalho committed Sep 23, 2022
1 parent 6464362 commit 30e0f07
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM node:16-alpine

WORKDIR /app

COPY . .

RUN npm install

CMD npm start
11 changes: 11 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: '3'

services:
zpl:
build:
context: .
restart: always
ports:
- 8000:8000
volumes:
- ./volumes:/app/db

0 comments on commit 30e0f07

Please sign in to comment.