Improve the conversation process

This commit is contained in:
Rafi
2023-04-04 19:16:07 +08:00
parent 16c9b0e230
commit 3e3283029d
14 changed files with 152 additions and 99 deletions

View File

@@ -1,5 +1,7 @@
FROM node:18-alpine3.16 as builder
ENV NITRO_PORT=80
WORKDIR /app
COPY package.json yarn.lock ./
@@ -8,15 +10,8 @@ RUN yarn install
COPY . .
RUN yarn generate
RUN yarn build
EXPOSE 80
FROM nginx:alpine
WORKDIR /app
COPY --from=builder /app/.output/public .
COPY nginx.conf /etc/nginx/templates/default.conf.template
EXPOSE 80
ENTRYPOINT ["node", ".output/server/index.mjs"]