chore: fix git install target from builder to runner #6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user