Jimin Huang
commited on
Commit
·
5db59f8
1
Parent(s):
fbb14c9
feature: change to TheFinAI
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -55,9 +55,12 @@ ENV HF_HOME=/app/.cache \
|
|
55 |
PORT=7860 \
|
56 |
NODE_ENV=production
|
57 |
|
|
|
58 |
# Note: HF_TOKEN should be provided at runtime, not build time
|
59 |
USER user
|
60 |
EXPOSE 7860
|
61 |
|
|
|
|
|
62 |
# Start both servers with wait-for
|
63 |
-
CMD ["sh", "-c", "uvicorn app.asgi:app --host 0.0.0.0 --port 7861 & while ! nc -z localhost 7861; do sleep 1; done && cd frontend && npm run serve"]
|
|
|
55 |
PORT=7860 \
|
56 |
NODE_ENV=production
|
57 |
|
58 |
+
|
59 |
# Note: HF_TOKEN should be provided at runtime, not build time
|
60 |
USER user
|
61 |
EXPOSE 7860
|
62 |
|
63 |
+
RUN env
|
64 |
+
|
65 |
# Start both servers with wait-for
|
66 |
+
CMD ["sh", "-c", "uvicorn app.asgi:app --host 0.0.0.0 --port 7861 & while ! nc -z localhost 7861; do sleep 1; done && cd frontend && npm run serve"]
|