add files for docker

This commit is contained in:
danny8208 2022-09-25 21:49:16 -04:00
parent c0535c87c1
commit 00832072e9
No known key found for this signature in database
GPG key ID: 611BB82B58836C54
2 changed files with 20 additions and 0 deletions

13
Dockerfile Normal file
View file

@ -0,0 +1,13 @@
FROM node:18
WORKDIR /usr/src/app
COPY . .
RUN npm install
RUN npm ci
EXPOSE 3000
CMD ["npm", "start"]

7
docker-compose.yaml Normal file
View file

@ -0,0 +1,7 @@
version: '3'
services:
nebula:
image: nebula:latest
build: .
container_name: nebula
restart: unless-stopped