add docker setup
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
frontend:
|
||||
container_name: no-copy-frontend
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "2998:2999"
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- PORT=2999
|
||||
volumes:
|
||||
- ./public:/app/public
|
||||
- ./package.json:/app/package.json
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- no-copy-network
|
||||
|
||||
networks:
|
||||
no-copy-network:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user