Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -36,7 +36,8 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
36 |
COPY --chown=pn frontend frontend
|
37 |
WORKDIR $HOME/app/frontend
|
38 |
RUN npm install
|
39 |
-
RUN npm run build && cp -r dist/. /usr/share/nginx/html
|
|
|
40 |
|
41 |
|
42 |
# Switch back to the app directory and setup the backend
|
|
|
36 |
COPY --chown=pn frontend frontend
|
37 |
WORKDIR $HOME/app/frontend
|
38 |
RUN npm install
|
39 |
+
RUN npm run build && cp -r dist/. /usr/share/nginx/html && ls /usr/share/nginx/html
|
40 |
+
|
41 |
|
42 |
|
43 |
# Switch back to the app directory and setup the backend
|