forked from Shiloh/remnantchat
main: created docker files
This commit is contained in:
parent
811c35bbd5
commit
29aede18f9
7
Dockerfile
Normal file
7
Dockerfile
Normal file
@ -0,0 +1,7 @@
|
||||
FROM node:14-alpine
|
||||
WORKDIR /remnantchat/
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
COPY . .
|
||||
EXPOSE 3000
|
||||
CMD ["npm", "start"]
|
10
docker-compose.yml
Normal file
10
docker-compose.yml
Normal file
@ -0,0 +1,10 @@
|
||||
version: '3'
|
||||
services:
|
||||
remnantchat:
|
||||
build: .
|
||||
ports:
|
||||
- '3000:3000'
|
||||
volumes:
|
||||
- '.:/remnantchat/'
|
||||
environment:
|
||||
- NODE_ENV=production
|
Loading…
Reference in New Issue
Block a user