frontend_devops fix

This commit is contained in:
voje 2019-03-20 17:49:34 +01:00
parent fbe9eb7b0f
commit aab075a291
96 changed files with 4 additions and 4 deletions

View File

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

@ -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

View File

@ -1,3 +1,3 @@
proxy: { proxy: {
'*': 'http://localhost:8080' '*': 'http://0.0.0.0:8080'
} }