add dockerfiles

This commit is contained in:
agentcobra 2024-03-06 03:15:23 +01:00
parent 2d463966a2
commit 4f2c03e23b
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