From 1194b07c656ab10839275c42bb8f3fcc6561cf03 Mon Sep 17 00:00:00 2001 From: "shimoda.m@nds-tyo.co.jp" Date: Tue, 19 Jul 2022 09:45:07 +0900 Subject: [PATCH] =?UTF-8?q?feat(dataimport):=20Docker=E3=82=A4=E3=83=A1?= =?UTF-8?q?=E3=83=BC=E3=82=B8=E3=83=93=E3=83=AB=E3=83=89=E6=99=82=E3=81=AB?= =?UTF-8?q?=E3=82=BB=E3=82=AD=E3=83=A5=E3=83=AA=E3=83=86=E3=82=A3=E3=83=91?= =?UTF-8?q?=E3=83=83=E3=83=81=E3=82=A2=E3=83=83=E3=83=97=E3=83=87=E3=83=BC?= =?UTF-8?q?=E3=83=88=E3=82=92=E5=AE=9F=E8=A1=8C=E3=81=99=E3=82=8B=E3=82=88?= =?UTF-8?q?=E3=81=86=E3=81=AB=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ecs/dataimport/Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ecs/dataimport/Dockerfile b/ecs/dataimport/Dockerfile index ec5fb0e0..dfe25cb3 100644 --- a/ecs/dataimport/Dockerfile +++ b/ecs/dataimport/Dockerfile @@ -4,7 +4,12 @@ ENV TZ="Asia/Tokyo" WORKDIR /usr/src/app COPY requirements.txt ./ -RUN pip install --no-cache-dir -r requirements.txt +RUN \ + apt update -y && \ + # パッケージのセキュリティアップデートのみを適用するコマンド + apt install -y unattended-upgrades && \ + unattended-upgrades && \ + pip install --no-cache-dir -r requirements.txt COPY dataimport ./ CMD [ "python", "./controller.py" ]