Spaces:
Running
Running
revert (didn't work)
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -25,7 +25,7 @@ RUN yarn && yarn build
|
|
25 |
|
26 |
# COPY --chown=user ./dist $HOME/app
|
27 |
|
28 |
-
CMD ["uvicorn", "dist", "--host", "0.0.0.0", "--port", "7860"]
|
29 |
|
30 |
-
|
31 |
-
|
|
|
25 |
|
26 |
# COPY --chown=user ./dist $HOME/app
|
27 |
|
28 |
+
# CMD ["uvicorn", "dist", "--host", "0.0.0.0", "--port", "7860"]
|
29 |
|
30 |
+
EXPOSE 7860
|
31 |
+
CMD [ "serve", "-s", "dist/" , "-p", "7860" ]
|