Compare commits

..

2 commits

Author SHA1 Message Date
Erick Ruiz de Chavez
a342ad0842 Add missing network config 2024-05-04 15:33:40 -04:00
Erick Ruiz de Chavez
332fec136e Add Docker configuration 2024-05-04 15:11:37 -04:00
4 changed files with 24 additions and 4 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" ]

13
docker-compose.yml Normal file
View file

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

8
package-lock.json generated
View file

@ -1,6 +1,6 @@
{
"name": "contact",
"version": "2.0.0",
"version": "1.0.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -912,9 +912,9 @@
}
},
"find-my-way": {
"version": "2.2.5",
"resolved": "https://registry.npmjs.org/find-my-way/-/find-my-way-2.2.5.tgz",
"integrity": "sha512-GjRZZlGcGmTh9t+6Xrj5K0YprpoAFCAiCPgmAH9Kb09O4oX6hYuckDfnDipYj+Q7B1GtYWSzDI5HEecNYscLQg==",
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/find-my-way/-/find-my-way-2.0.1.tgz",
"integrity": "sha512-c+YnWk4LKcWSNu743wfoqNOZTYQ6kZ/kzZCjALGblLpzbEAv3INakGMZ1K/by+Wmf/NP3+3LpOQMOFw6/q52wQ==",
"requires": {
"fast-decode-uri-component": "^1.0.0",
"safe-regex2": "^2.0.0",