File tree Expand file tree Collapse file tree 2 files changed +1
-556
lines changed Expand file tree Collapse file tree 2 files changed +1
-556
lines changed Original file line number Diff line number Diff line change @@ -19,16 +19,9 @@ WORKDIR /app
1919# add a .env.local if the user doesn't bind a volume to it
2020RUN touch /app/.env.local
2121
22-
23-
2422USER root
25-
26- RUN mkdir -p /data/models
27- RUN chown -R 1000:1000 /data/models
28-
2923RUN apt-get update
30- RUN apt-get install gnupg curl git cmake clang libgomp1 -y
31-
24+ RUN apt-get install -y libgomp1
3225
3326# ensure npm cache dir exists before adjusting ownership
3427RUN mkdir -p /home/user/.npm && chown -R 1000:1000 /home/user/.npm
@@ -38,7 +31,6 @@ USER user
3831
3932COPY --chown=1000 .env /app/.env
4033COPY --chown=1000 entrypoint.sh /app/entrypoint.sh
41- COPY --chown=1000 gcp-*.json /app/
4234COPY --chown=1000 package.json /app/package.json
4335COPY --chown=1000 package-lock.json /app/package-lock.json
4436
@@ -94,7 +86,6 @@ ARG PUBLIC_APP_COLOR=blue
9486ARG PUBLIC_COMMIT_SHA=
9587ENV PUBLIC_COMMIT_SHA=${PUBLIC_COMMIT_SHA}
9688ENV BODY_SIZE_LIMIT=15728640
97- ENV MODELS_STORAGE_PATH=/data/models
9889
9990# import the build & dependencies
10091COPY --from=builder --chown=1000 /app/build /app/build
You can’t perform that action at this time.
0 commit comments