Spaces:
Build error
Build error
Commit
·
4c9110d
1
Parent(s):
3441ee9
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -23,7 +23,7 @@ RUN mkdir $HOME/app
|
|
23 |
WORKDIR $HOME/app
|
24 |
|
25 |
# Copy nginx configuration
|
26 |
-
RUN
|
27 |
COPY --chown=user nginx.conf /etc/nginx/sites-available/default
|
28 |
COPY --chown=user . .
|
29 |
|
|
|
23 |
WORKDIR $HOME/app
|
24 |
|
25 |
# Copy nginx configuration
|
26 |
+
RUN sed -i "s|API_URL|${API_URL} |g" nginx.conf
|
27 |
COPY --chown=user nginx.conf /etc/nginx/sites-available/default
|
28 |
COPY --chown=user . .
|
29 |
|