Improve the conversation process
This commit is contained in:
15
Dockerfile
15
Dockerfile
@@ -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"]
|
||||
Reference in New Issue
Block a user