Merge pull request #28 from agentcobra/master

add docker support
This commit is contained in:
Eric Dubé
2024-03-06 14:05:46 -05:00
committed by GitHub
2 changed files with 13 additions and 0 deletions

6
Dockerfile Normal file
View File

@@ -0,0 +1,6 @@
FROM node:hydrogen-alpine
WORKDIR /app
COPY . .
RUN yarn install
CMD ["node", "dev-server.js"]
EXPOSE 4000

7
docker-compose.yml Normal file
View File

@@ -0,0 +1,7 @@
version: '3'
services:
app:
build: ./
ports:
- 4000:4000