Spaces:
Running
Running
orztv
commited on
Commit
·
79622ac
1
Parent(s):
27bd649
update
Browse files- .env.example +2 -1
- Dockerfile +3 -3
.env.example
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
API_URL=https://fuliai-cobalt.hf.space/
|
2 |
API_PORT=9000
|
3 |
API_NAME=local
|
4 |
-
CORS_WILDCARD=0
|
|
|
|
1 |
API_URL=https://fuliai-cobalt.hf.space/
|
2 |
API_PORT=9000
|
3 |
API_NAME=local
|
4 |
+
CORS_WILDCARD=0
|
5 |
+
COOKIE_PATH=/
|
Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
ARG API_URL=https://
|
2 |
ARG API_PORT=7860
|
3 |
|
4 |
FROM node:20-bullseye-slim AS base
|
@@ -20,8 +20,8 @@ RUN pnpm deploy --filter=@imput/cobalt-api --prod /prod/api
|
|
20 |
|
21 |
FROM base AS api
|
22 |
|
23 |
-
ENV API_URL=$API_URL
|
24 |
-
ENV API_PORT=$API_PORT
|
25 |
ENV API_NAME=local
|
26 |
ENV CORS_WILDCARD=0
|
27 |
|
|
|
1 |
+
ARG API_URL=https://fuliai-cobalt.hf.space/
|
2 |
ARG API_PORT=7860
|
3 |
|
4 |
FROM node:20-bullseye-slim AS base
|
|
|
20 |
|
21 |
FROM base AS api
|
22 |
|
23 |
+
ENV API_URL=${API_URL}
|
24 |
+
ENV API_PORT=${API_PORT}
|
25 |
ENV API_NAME=local
|
26 |
ENV CORS_WILDCARD=0
|
27 |
|