mirror of
https://github.com/ANL-CEEESA/UnitCommitment.jl.git
synced 2025-12-06 08:18:51 -06:00
web: Update Dockerfile, Makefile
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
docker-build:
|
||||
docker build . -t ucjl-frontend
|
||||
docker build . \
|
||||
--build-arg REACT_APP_BACKEND_URL=https://ucjl.axavier.org/api \
|
||||
-t ucjl-frontend
|
||||
|
||||
docker-run:
|
||||
docker run -e REACT_APP_BACKEND_URL=http://localhost:9000/api --publish 3000:3000 --rm -it ucjl-frontend
|
||||
docker stop ucjl-frontend
|
||||
docker rm ucjl-frontend
|
||||
docker run \
|
||||
--detach \
|
||||
--network custom \
|
||||
--restart always \
|
||||
--name ucjl-frontend \
|
||||
ucjl-frontend
|
||||
|
||||
Reference in New Issue
Block a user