add files for docker
This commit is contained in:
parent
c0535c87c1
commit
00832072e9
2 changed files with 20 additions and 0 deletions
13
Dockerfile
Normal file
13
Dockerfile
Normal 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
7
docker-compose.yaml
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
nebula:
|
||||||
|
image: nebula:latest
|
||||||
|
build: .
|
||||||
|
container_name: nebula
|
||||||
|
restart: unless-stopped
|
||||||
Loading…
Add table
Reference in a new issue