mirror of
https://github.com/LLM-Red-Team/glm-free-api.git
synced 2024-11-11 04:49:25 +08:00
update Dockerfile
This commit is contained in:
parent
1a5cf591af
commit
83a8c00edd
@ -8,10 +8,11 @@ RUN npm i --registry http://registry.npmmirror.com && npm run build
|
|||||||
|
|
||||||
FROM node:lts-alpine
|
FROM node:lts-alpine
|
||||||
|
|
||||||
COPY --from=BUILD_IMAGE /app/configs ./configs
|
COPY --from=BUILD_IMAGE /app/configs /app/configs
|
||||||
COPY --from=BUILD_IMAGE /app/package.json ./package.json
|
COPY --from=BUILD_IMAGE /app/package.json /app/package.json
|
||||||
COPY --from=BUILD_IMAGE /app/dist ./dist
|
COPY --from=BUILD_IMAGE /app/dist /app/dist
|
||||||
COPY --from=BUILD_IMAGE /app/node_modules ./node_modules
|
COPY --from=BUILD_IMAGE /app/public /app/public
|
||||||
|
COPY --from=BUILD_IMAGE /app/node_modules /app/node_modules
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user