Merge pull request #19 from Danny8208/main

add dockerfile to run nebula in a docker container
This commit is contained in:
Green! 2022-09-26 08:07:40 -04:00 committed by GitHub
commit 0ecfef3e6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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