diff --git a/Dockerfile b/Dockerfile index ad0ef388d..1c2a7ca54 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,15 +4,15 @@ WORKDIR /app RUN apk add --no-cache python3 build-base g++ cairo-dev jpeg-dev pango-dev giflib-dev bash -COPY package.json . -COPY tsconfig.json . -COPY src . -COPY blazew . -COPY blaze . -COPY blazebuild . -COPY build.blaze.ts . -COPY build_src . -COPY eslint.config.mjs . +COPY package.json ./package.json +COPY tsconfig.json ./tsconfig.json +COPY src ./src +COPY blazew ./blazew +COPY blaze ./blaze +COPY blazebuild ./blazebuild +COPY build.blaze.ts ./build.blaze.ts +COPY build_src ./build_src +COPY eslint.config.mjs ./eslint.config.mjs RUN bash blazew build @@ -22,10 +22,10 @@ WORKDIR /app COPY --from=0 /app/node_modules ./node_modules COPY --from=0 /app/build ./build -COPY --from=0 /app/package.json . -COPY ecosystem.config.js . +COPY --from=0 /app/package.json ./package.json +COPY ecosystem.config.js ./ecosystem.config.js COPY .env.docke[r] ./.env -COPY config . +COPY config ./config EXPOSE 4000 CMD ["npm", "run", "start:prod", "--", "--no-daemon"]