shimoda.m@nds-tyo.co.jp ca816ac21a fix: (SAPデータ復号化)12月の脆弱性スキャンで発覚した脆弱性を解消
- setuptoolsのインストールを追加(横展開)
2022-12-20 19:10:20 +09:00

17 lines
501 B
Docker

FROM python:3.9
ENV TZ="Asia/Tokyo"
WORKDIR /function
COPY requirements.txt ./
RUN \
apt update -y && \
# パッケージのセキュリティアップデートのみを適用するコマンド
apt install -y unattended-upgrades && \
unattended-upgrades && \
pip install --upgrade pip wheel setuptools && \
pip install --no-cache-dir -r requirements.txt
COPY datadecrypt ./
ENTRYPOINT [ "/usr/local/bin/python", "-m", "awslambdaric" ]
CMD [ "main.handler" ]