add demo action
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m18s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m18s
This commit is contained in:
@ -21,12 +21,13 @@ COPY . .
|
||||
RUN pnpm run build
|
||||
|
||||
FROM base AS runner
|
||||
WORKDIR /app
|
||||
COPY --from=prod /app/node_modules /app/node_modules
|
||||
COPY --from=build /app/build build/
|
||||
COPY --from=build /app/.output ./
|
||||
|
||||
|
||||
ENV PORT=3000
|
||||
ENV NODE_ENV=production
|
||||
EXPOSE $PORT
|
||||
|
||||
CMD ["node", "build"]
|
||||
CMD ["node", "server/index.mjs"]
|
||||
|
||||
Reference in New Issue
Block a user