forked from kristjan/cjvt-valency
frontend_devops fix
This commit is contained in:
parent
fbe9eb7b0f
commit
aab075a291
Before Width: | Height: | Size: 106 KiB After Width: | Height: | Size: 106 KiB |
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 6.7 KiB |
|
@ -1,6 +1,6 @@
|
||||||
.PHONY: build-container dev prod info
|
.PHONY: build-container dev prod info
|
||||||
|
|
||||||
IMGNAME = vue_vrontend
|
IMGNAME = vue_frontend
|
||||||
CONNAME = vue-frontend
|
CONNAME = vue-frontend
|
||||||
|
|
||||||
all: info
|
all: info
|
||||||
|
@ -16,8 +16,8 @@ build-container:
|
||||||
docker build . -t $(IMGNAME)
|
docker build . -t $(IMGNAME)
|
||||||
|
|
||||||
dev: build-container clean
|
dev: build-container clean
|
||||||
docker run --name $(CONNAME) -d -p 8080:8080 -v $(shell pwd):/src $(IMGNAME) /src/ops_scripts/alpine-dev.sh
|
docker run --name $(CONNAME) -d -p 8080:8080 -v $(shell pwd):/src $(IMGNAME) /src/ops_scripts/dev.sh
|
||||||
|
|
||||||
prod: build-container clean
|
prod: build-container clean
|
||||||
docker run --name $(CONNAME) -d -p 8080:8080 -v $(shell pwd):/src $(IMGNAME) /src/ops_scripts/alpine-prod.sh
|
docker run --name $(CONNAME) -d -p 8080:8080 -v $(shell pwd):/src $(IMGNAME) /src/ops_scripts/prod.sh
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
proxy: {
|
proxy: {
|
||||||
'*': 'http://localhost:8080'
|
'*': 'http://0.0.0.0:8080'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user