All checks were successful
continuous-integration/drone/push Build is passing
11 lines
321 B
Docker
11 lines
321 B
Docker
FROM registry.odit.services/hub/library/node:19.5.0-alpine3.17
|
|
WORKDIR /app
|
|
RUN npm i -g pnpm@7
|
|
COPY . .
|
|
RUN pnpm i --frozen-lockfile
|
|
RUN pnpm build
|
|
RUN pnpm postbuild
|
|
# final image
|
|
FROM registry.odit.services/library/nginx-brotli:3.15
|
|
COPY --from=0 /app/dist /usr/share/nginx/html
|
|
COPY ./nginx.conf /etc/nginx/nginx.conf |