From 33bdb826c01f5bcd351c0c0b66319ac77123ab02 Mon Sep 17 00:00:00 2001 From: Ar Rakin Date: Tue, 9 Jul 2024 00:14:47 +0600 Subject: [PATCH] build(docker): update Dockerfile Signed-off-by: Ar Rakin --- Dockerfile | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) 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"]