Skip to content

Commit 1c044be

Browse files
committed
docker/frontend: Correctly proxy to backend
When using `npm run start --proxy http://backend:8888`, `npm` interprets the `--proxy http://backend:8888` as a parameter that IT should parse, which means the parameter never gets to `ember serve`. Add a `--` in the middle so that `npm` knows not to parse that flag and instead pass it to `ember serve`.
1 parent 7e106b9 commit 1c044be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ services:
3737
build:
3838
context: .
3939
dockerfile: frontend.Dockerfile
40-
entrypoint: npm run start --proxy http://backend:8888
40+
entrypoint: npm run start -- --proxy http://backend:8888
4141
links:
4242
- backend
4343
ports:

0 commit comments

Comments
 (0)