Compare commits
2 Commits
6a64e2939e
...
ee0d8ebd9c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ee0d8ebd9c | ||
|
|
7d356a1a31 |
11
Dockerfile
Normal file
11
Dockerfile
Normal 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
8
compose.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
services:
|
||||
sofia-traffic-info:
|
||||
build: .
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
ports:
|
||||
- 3013:3000
|
||||
Reference in New Issue
Block a user