Dockerfile.productionにソースコードのコピーを追加
This commit is contained in:
parent
d4753da136
commit
7964b1e98d
@ -22,6 +22,9 @@ WORKDIR /app
|
|||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
RUN npm install --production
|
RUN npm install --production
|
||||||
|
|
||||||
|
# ソースコードをコピー
|
||||||
|
COPY . .
|
||||||
|
|
||||||
# ビルド済みファイルをコピー
|
# ビルド済みファイルをコピー
|
||||||
COPY --from=builder /app/dist ./dist
|
COPY --from=builder /app/dist ./dist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user