Skip to content

Commit

Permalink
build(docker): update Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Ar Rakin <[email protected]>
  • Loading branch information
virtual-designer committed Jul 8, 2024
1 parent 9e07824 commit 33bdb82
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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"]

0 comments on commit 33bdb82

Please sign in to comment.