mirror of
https://github.com/catdevnull/preciazo.git
synced 2024-11-22 22:26:19 +00:00
solo usar NODE_ENV en el contenedor final
This commit is contained in:
parent
71d3429450
commit
fe9b1fd3e7
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,5 @@
|
||||||
FROM cgr.dev/chainguard/wolfi-base AS base
|
FROM cgr.dev/chainguard/wolfi-base AS base
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
ENV NODE_ENV=production
|
|
||||||
|
|
||||||
FROM base as build
|
FROM base as build
|
||||||
RUN apk add --no-cache nodejs npm
|
RUN apk add --no-cache nodejs npm
|
||||||
|
@ -11,6 +10,7 @@ RUN cd sitio && \
|
||||||
pnpm build
|
pnpm build
|
||||||
|
|
||||||
FROM base
|
FROM base
|
||||||
|
ENV NODE_ENV=production
|
||||||
RUN apk add --no-cache nodejs npm jq sqlite
|
RUN apk add --no-cache nodejs npm jq sqlite
|
||||||
|
|
||||||
# Sitio
|
# Sitio
|
||||||
|
|
Loading…
Reference in a new issue