chore: refactor workspace

This commit is contained in:
iCrawl
2023-05-03 02:14:22 +02:00
parent c429763be8
commit 7e875f6919
129 changed files with 1662 additions and 1371 deletions

View File

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