Spaces:
Build error
Build error
pass arg
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -21,6 +21,9 @@ RUN pip install --upgrade "huggingface_hub[cli]"
|
|
21 |
WORKDIR /tmp
|
22 |
RUN git clone https://github.com/severo/discourse-dashboard.git app
|
23 |
WORKDIR /tmp/app
|
|
|
|
|
|
|
24 |
RUN npm ci && npm rebuild && npm run build
|
25 |
|
26 |
# The site space name must be passed as an environment variable
|
|
|
21 |
WORKDIR /tmp
|
22 |
RUN git clone https://github.com/severo/discourse-dashboard.git app
|
23 |
WORKDIR /tmp/app
|
24 |
+
# The discourse forum URL must be passed as an environment variable
|
25 |
+
# https://huggingface.co/docs/hub/spaces-sdks-docker#buildtime
|
26 |
+
ARG DISCOURSE_URL
|
27 |
RUN npm ci && npm rebuild && npm run build
|
28 |
|
29 |
# The site space name must be passed as an environment variable
|