move legacy to legacy
This commit is contained in:
14
Dockerfile
14
Dockerfile
@@ -1,14 +0,0 @@
|
||||
FROM registry.odit.services/hub/library/node:16-alpine3.16 AS build
|
||||
ARG NPM_REGISTRY_URL=https://registry.npmjs.org
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json *.config.cjs *.config.js ./
|
||||
RUN npm config set registry $NPM_REGISTRY_URL && npm i -g pnpm@7.29.3
|
||||
RUN pnpm i
|
||||
COPY . ./
|
||||
RUN pnpm build
|
||||
|
||||
# final image
|
||||
FROM registry.odit.services/library/nginx-brotli:latest
|
||||
COPY --from=build /app/src/.vuepress/dist /usr/share/nginx/html
|
||||
COPY ./nginx.conf /etc/nginx/nginx.conf
|
||||
Reference in New Issue
Block a user