From 7baf6a73969facfdf5ac591dcdd4b21cc70819b3 Mon Sep 17 00:00:00 2001 From: Niggl Date: Mon, 8 Jun 2020 09:28:37 +0200 Subject: [PATCH] updated env var to not use ssl by default --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 863edab..c29977f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,6 @@ RUN npm run build # Stage 2: Package up with the webserver FROM nginx:alpine AS final -ENV API_URL "https://localhost:5001" +ENV API_URL "http://localhost:5001" COPY --from=build /build/dist/frontend /usr/share/nginx/html CMD ["/bin/sh", "-c", "envsubst < /usr/share/nginx/html/assets/env.template.js > /usr/share/nginx/html/assets/env.js && exec nginx -g 'daemon off;'"] \ No newline at end of file