solo usar NODE_ENV en el contenedor final

This commit is contained in:
Cat /dev/Nulo 2024-01-14 10:24:54 -03:00
parent 71d3429450
commit fe9b1fd3e7

View file

@ -1,6 +1,5 @@
FROM cgr.dev/chainguard/wolfi-base AS base
WORKDIR /usr/src/app
ENV NODE_ENV=production
FROM base as build
RUN apk add --no-cache nodejs npm
@ -11,6 +10,7 @@ RUN cd sitio && \
pnpm build
FROM base
ENV NODE_ENV=production
RUN apk add --no-cache nodejs npm jq sqlite
# Sitio