doick
This commit is contained in:
parent
91ab1ac26d
commit
dcdf167fc5
@ -8,8 +8,6 @@ RUN corepack enable
|
|||||||
FROM base as build
|
FROM base as build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN npm install -g pm2
|
|
||||||
|
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
|
||||||
RUN yarn
|
RUN yarn
|
||||||
@ -20,6 +18,8 @@ RUN yarn run build
|
|||||||
|
|
||||||
FROM base
|
FROM base
|
||||||
|
|
||||||
|
RUN npm install -g pm2
|
||||||
|
|
||||||
COPY --from=build /app/.output /app/.output
|
COPY --from=build /app/.output /app/.output
|
||||||
|
|
||||||
ENV PORT=3001
|
ENV PORT=3001
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user