Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
β’
a5e4a1b
1
Parent(s):
eb138fd
up
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,5 +1,3 @@
|
|
1 |
-
FROM node:20-alpine AS base
|
2 |
-
|
3 |
ARG RENDERING_ENGINE
|
4 |
ARG LLM_ENGINE
|
5 |
ARG NEXT_PUBLIC_MAX_NB_PAGES
|
@@ -34,6 +32,8 @@ ARG COMMUNITY_API_ID
|
|
34 |
ARG ENABLE_CENSORSHIP
|
35 |
ARG SECRET_FINGERPRINT
|
36 |
|
|
|
|
|
37 |
# Install dependencies only when needed
|
38 |
FROM base AS deps
|
39 |
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
|
|
|
|
|
|
|
1 |
ARG RENDERING_ENGINE
|
2 |
ARG LLM_ENGINE
|
3 |
ARG NEXT_PUBLIC_MAX_NB_PAGES
|
|
|
32 |
ARG ENABLE_CENSORSHIP
|
33 |
ARG SECRET_FINGERPRINT
|
34 |
|
35 |
+
FROM node:20-alpine AS base
|
36 |
+
|
37 |
# Install dependencies only when needed
|
38 |
FROM base AS deps
|
39 |
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
|