Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit b34e5e2

Browse files
fix: Expose REACT_APP_API_URL before build.
1 parent 889484f commit b34e5e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tumeplay-app/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ FROM node:12-alpine as builder
22

33
ARG buildenv
44
ARG REACT_APP_API_URL
5+
ENV REACT_APP_API_URL=$REACT_APP_API_URL
56

67
WORKDIR /
78

@@ -27,4 +28,3 @@ FROM ghcr.io/socialgouv/docker/nginx4spa:6.24.0
2728
COPY --from=builder /build /usr/share/nginx/html
2829

2930
ENV NGINX_PORT=80
30-
ENV REACT_APP_API_URL=$REACT_APP_API_URL

0 commit comments

Comments
 (0)