mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
chore: refactor workspace
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM node:16-alpine as builder
|
||||
FROM node:18-alpine AS builder
|
||||
|
||||
RUN apk update
|
||||
RUN apk add --no-cache libc6-compat
|
||||
@@ -10,7 +10,7 @@ COPY manifests .
|
||||
RUN yarn install --immutable
|
||||
RUN rm -rf .yarn/cache
|
||||
|
||||
FROM node:16-alpine AS runner
|
||||
FROM node:18-alpine AS runner
|
||||
|
||||
WORKDIR /usr/proxy
|
||||
|
||||
@@ -18,7 +18,7 @@ RUN addgroup --system --gid 1001 nodejs
|
||||
RUN adduser --system --uid 1001 proxy
|
||||
USER proxy
|
||||
|
||||
COPY --from=installer /usr/proxy .
|
||||
COPY --from=builder /usr/proxy .
|
||||
COPY packs .
|
||||
|
||||
CMD ["node", "--enable-source-maps", "dist/index.js"]
|
||||
|
||||
Reference in New Issue
Block a user