Spaces:
Runtime error
Runtime error
Archie Wood
commited on
Commit
·
ac72290
1
Parent(s):
a4730c9
where is stuff?
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -16,7 +16,10 @@ RUN curl -fsSL https://deb.nodesource.com/setup_20.x -o nodesource_setup.sh \
|
|
| 16 |
RUN pip install --upgrade "huggingface_hub[cli]"
|
| 17 |
|
| 18 |
# Build the app
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
# The site space name must be passed as an environment variable
|
| 22 |
# https://huggingface.co/docs/hub/spaces-sdks-docker#buildtime
|
|
|
|
| 16 |
RUN pip install --upgrade "huggingface_hub[cli]"
|
| 17 |
|
| 18 |
# Build the app
|
| 19 |
+
WORKDIR /usr/app
|
| 20 |
+
COPY ./ /usr/app
|
| 21 |
+
RUN npm install
|
| 22 |
+
RUN npm run sources && npm run build
|
| 23 |
|
| 24 |
# The site space name must be passed as an environment variable
|
| 25 |
# https://huggingface.co/docs/hub/spaces-sdks-docker#buildtime
|