restructure stuff, add logging, use node 20

This commit is contained in:
Aljaž Starc
2023-10-23 22:54:08 +02:00
parent acfa8461e5
commit 5323504a87
11 changed files with 16 additions and 18 deletions

View File

@@ -5,16 +5,16 @@ services:
image: node:14
build:
context: ./
dockerfile: Dockerfile
dockerfile: dockerfile
command: ["yarn", "run", "dev"]
environment:
ENV: development
NODE_ENV: development
volumes:
- ./src:/var/src
- /var/src/node_modules
- ./:/app
- /app/node_modules
ports:
- 8080:80
- 80:80
healthcheck:
test: ["CMD", "curl", "-sSG", "http://localhost/healthcheck"]
interval: 30s