Compare commits

...

2 Commits

Author SHA1 Message Date
Georgi Gardev
ee0d8ebd9c restart unless stopped 2025-05-14 12:49:32 +03:00
Georgi Gardev
7d356a1a31 add docker 2025-05-14 12:49:17 +03:00
2 changed files with 19 additions and 0 deletions

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM node:20-slim
WORKDIR /app
COPY package*.json ./
RUN npm install --omit=dev
COPY . .
EXPOSE 3000
CMD ["npm", "run", "start"]

8
compose.yaml Normal file
View File

@@ -0,0 +1,8 @@
services:
sofia-traffic-info:
build: .
restart: unless-stopped
volumes:
- ./data:/app/data
ports:
- 3013:3000