Skip to content

Commit

Permalink
fix: Dockerfile (#394)
Browse files Browse the repository at this point in the history
* Update Dockerfile

* Fix chmod command

Fix the path so it can stay in the `builder` step, so it doesn't add a layer to the image.

---------

Co-authored-by: Isaac <git@eartharoid.me>
  • Loading branch information
Uzurka and eartharoid committed Mar 12, 2023
1 parent 4a8aee5 commit d09598d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -8,9 +8,9 @@ RUN apk add --no-cache make gcc g++ python3
RUN npm install -g pnpm
COPY package.json pnpm-lock.yaml ./
COPY --link scripts scripts
RUN chmod +x ./scripts/start.sh
# install dependencies, CI=true to skip pre/postinstall scripts
RUN CI=true pnpm install --prod --frozen-lockfile
RUN chmod +x /usr/bot/scripts/start.sh
COPY --link . .

FROM node:18-alpine AS runner
Expand Down

0 comments on commit d09598d

Please sign in to comment.