orztv commited on
Commit
2eaf02e
1 Parent(s): de752c1
Files changed (1) hide show
  1. Dockerfile +6 -3
Dockerfile CHANGED
@@ -1,6 +1,3 @@
1
- ARG API_URL="https://fuliai-cobalt.hf.space/"
2
- ARG API_PORT=7860
3
-
4
  FROM node:20-bullseye-slim AS base
5
  ENV PNPM_HOME="/pnpm"
6
  ENV PATH="$PNPM_HOME:$PATH"
@@ -21,6 +18,12 @@ RUN pnpm deploy --filter=@imput/cobalt-api --prod /prod/api
21
  FROM base AS api
22
  WORKDIR /app
23
 
 
 
 
 
 
 
24
  COPY --from=build /prod/api /app
25
  COPY --from=build /app/.git /app/.git
26
 
 
 
 
 
1
  FROM node:20-bullseye-slim AS base
2
  ENV PNPM_HOME="/pnpm"
3
  ENV PATH="$PNPM_HOME:$PATH"
 
18
  FROM base AS api
19
  WORKDIR /app
20
 
21
+ ARG API_URL="https://fuliai-cobalt.hf.space/"
22
+ ARG API_PORT=7860
23
+
24
+ ENV API_URL=${API_URL}
25
+ ENV API_PORT=${API_PORT}
26
+
27
  COPY --from=build /prod/api /app
28
  COPY --from=build /app/.git /app/.git
29