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