chore: fix git install target from builder to runner
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
# For Build
|
||||
FROM node:22-slim as builder
|
||||
|
||||
RUN apt-get update && apt-get install -y git
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json ./
|
||||
@@ -17,6 +15,8 @@ RUN npm run build
|
||||
# For Run
|
||||
FROM node:22-slim
|
||||
|
||||
RUN apt-get update && apt-get install -y git
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./articles ./articles
|
||||
|
||||
Reference in New Issue
Block a user