Add Docker configuration

This commit is contained in:
Erick Ruiz de Chavez 2024-05-04 15:11:37 -04:00
parent e66970f2a9
commit 332fec136e
3 changed files with 16 additions and 0 deletions

2
.dockerignore Normal file
View file

@ -0,0 +1,2 @@
node_modules
vendor

5
Dockerfile Normal file
View file

@ -0,0 +1,5 @@
FROM node:14-alpine
WORKDIR /app
COPY . .
RUN npm ci
ENTRYPOINT [ "node", "index.js" ]

9
docker-compose.yml Normal file
View file

@ -0,0 +1,9 @@
services:
node:
build:
context: .
restart: always
ports:
- 8081:8081
networks:
- palmiers