update,
This commit is contained in:
14
james_endl/COMP3322A-Lab-7-React/code/docker-compose.yml
Normal file
14
james_endl/COMP3322A-Lab-7-React/code/docker-compose.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
# CREDIT: https://github.com/shren207/nextjs-docker-compose
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
react:
|
||||
build: .
|
||||
ports:
|
||||
- '8082:3000'
|
||||
restart: always
|
||||
user: 1000:1000
|
||||
working_dir: /app
|
||||
volumes:
|
||||
- $PWD:/app
|
||||
command: sleep infinity
|
Reference in New Issue
Block a user