chore: dockerize

This commit is contained in:
CyberL1 2025-01-08 13:13:09 -05:00
parent 0af2045548
commit 3e6c1b9ddd
2 changed files with 15 additions and 0 deletions

5
Dockerfile Normal file
View File

@ -0,0 +1,5 @@
FROM node:alpine
COPY . .
RUN npm i
ENTRYPOINT ["npm", "start"]

10
compose.yml Normal file
View File

@ -0,0 +1,10 @@
name: code-containers
services:
server:
build: .
ports:
- 3000:3000
- 3001:3001
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro