mirror of
https://github.com/movie-web/simple-proxy.git
synced 2025-09-13 08:33:26 +00:00
switch to pnpm and add import aliasing
This commit is contained in:
@@ -4,10 +4,11 @@ WORKDIR /app
|
||||
# Build layer
|
||||
FROM base as build
|
||||
|
||||
COPY package-lock.json package.json ./
|
||||
RUN npm install --frozen-lockfile
|
||||
RUN npm i -g pnpm
|
||||
COPY pnpm-lock.yaml package.json ./
|
||||
RUN pnpm install --frozen-lockfile
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
RUN pnpm build
|
||||
|
||||
# Production layer
|
||||
FROM base as production
|
||||
|
Reference in New Issue
Block a user