mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-23 00:03:09 +02:00
fix: Dockerfile (#394)
* 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>
This commit is contained in:
parent
4a8aee5ce8
commit
d09598dd3f
@ -8,9 +8,9 @@ RUN apk add --no-cache make gcc g++ python3
|
|||||||
RUN npm install -g pnpm
|
RUN npm install -g pnpm
|
||||||
COPY package.json pnpm-lock.yaml ./
|
COPY package.json pnpm-lock.yaml ./
|
||||||
COPY --link scripts scripts
|
COPY --link scripts scripts
|
||||||
|
RUN chmod +x ./scripts/start.sh
|
||||||
# install dependencies, CI=true to skip pre/postinstall scripts
|
# install dependencies, CI=true to skip pre/postinstall scripts
|
||||||
RUN CI=true pnpm install --prod --frozen-lockfile
|
RUN CI=true pnpm install --prod --frozen-lockfile
|
||||||
RUN chmod +x /usr/bot/scripts/start.sh
|
|
||||||
COPY --link . .
|
COPY --link . .
|
||||||
|
|
||||||
FROM node:18-alpine AS runner
|
FROM node:18-alpine AS runner
|
||||||
|
Loading…
Reference in New Issue
Block a user