Remove unused NODE_ENV variable
Nuxt forces the NODE_ENV environment variable to be set to production when running a build, which means there's no point in specifying it here.
This commit is contained in:
parent
81de90d4a6
commit
ded212f03f
1 changed files with 0 additions and 2 deletions
|
@ -21,8 +21,6 @@ RUN corepack enable pnpm && pnpm run build
|
|||
FROM base AS runner
|
||||
WORKDIR /app
|
||||
|
||||
ENV NODE_ENV=production
|
||||
|
||||
COPY --from=builder /app/.output ./
|
||||
RUN install --owner=node --group=node --directory data
|
||||
VOLUME [ "/app/data" ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue