Merge pull request #41 feature-NEWDWH2021-599 into develop

This commit is contained in:
朝倉 明日香 2022-07-20 11:09:21 +09:00
commit cfec96fc14

View File

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