NITRO_CLUSTER_WORKERS as env variable
This commit is contained in:
parent
7939e11f22
commit
0faaef912c
1 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,7 @@
|
||||||
FROM node:lts-alpine
|
FROM node:lts-alpine
|
||||||
|
|
||||||
|
ENV NITRO_CLUSTER_WORKERS=4
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY output ./
|
COPY output ./
|
||||||
|
|
@ -9,4 +11,4 @@ ENV HOST=0.0.0.0
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
CMD ["NITRO_CLUSTER_WORKERS=4", "node", "/app/server/index.mjs"]
|
CMD ["node", "/app/server/index.mjs"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue