Merge pull request 'chore: fix git install target from builder to runner' (#6) from develop into master

Reviewed-on: #6
This commit is contained in:
Keisuke Hirata 2024-09-03 05:24:49 +09:00
commit 78d733ace6

View File

@ -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