Compare commits
2 commits
dependabot
...
master
Author | SHA1 | Date | |
---|---|---|---|
|
a342ad0842 | ||
|
332fec136e |
3 changed files with 20 additions and 0 deletions
2
.dockerignore
Normal file
2
.dockerignore
Normal file
|
@ -0,0 +1,2 @@
|
|||
node_modules
|
||||
vendor
|
5
Dockerfile
Normal file
5
Dockerfile
Normal 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
13
docker-compose.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
services:
|
||||
node:
|
||||
build:
|
||||
context: .
|
||||
restart: always
|
||||
ports:
|
||||
- 8081:8081
|
||||
networks:
|
||||
- palmiers
|
||||
|
||||
networks:
|
||||
palmiers:
|
||||
external: true
|
Loading…
Reference in a new issue