We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2225f7f commit f410246Copy full SHA for f410246
2 files changed
docker/Dockerfile
@@ -23,6 +23,9 @@ COPY --from=build /app/dist /usr/share/nginx/html
23
COPY ./docker/entrypoint.sh /entrypoint.sh
24
RUN chmod +x /entrypoint.sh
25
26
+ARG API_URL=http://localhost:8000
27
+ENV SYNCMASTER__UI__API_BROWSER_URL=${API_URL}
28
+
29
ENTRYPOINT ["/entrypoint.sh"]
30
CMD ["nginx", "-g", "daemon off;"]
31
EXPOSE 3000
docker/entrypoint.sh
@@ -2,7 +2,7 @@
2
3
cat <<EOF > /usr/share/nginx/html/env-config.js
4
window.env = {
5
- API_URL: "${API_URL}",
+ API_URL: "${SYNCMASTER__UI__API_BROWSER_URL}",
6
};
7
EOF
8
0 commit comments