mirror of
https://github.com/ivanfioravanti/chatbot-ollama.git
synced 2023-12-01 22:17:38 +03:00
Merge pull request #20 from ivanfioravanti/node20
Revert to node:20-alpine image
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# ---- Base Node ----
|
||||
FROM node:21-alpine AS base
|
||||
FROM node:20-alpine AS base
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
|
||||
@@ -13,7 +13,7 @@ COPY . .
|
||||
RUN npm run build
|
||||
|
||||
# ---- Production ----
|
||||
FROM node:21-alpine AS production
|
||||
FROM node:20-alpine AS production
|
||||
WORKDIR /app
|
||||
COPY --from=dependencies /app/node_modules ./node_modules
|
||||
COPY --from=build /app/.next ./.next
|
||||
|
||||
Reference in New Issue
Block a user