From bf370399684e94379ab96a98842548adc0ac1b74 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 29 Nov 2023 14:42:16 +0000 Subject: [PATCH] fix: testApp/Dockerfile to reduce vulnerabilities --- testApp/Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/testApp/Dockerfile b/testApp/Dockerfile index 04de1af..c56aaa2 100644 --- a/testApp/Dockerfile +++ b/testApp/Dockerfile @@ -1,15 +1,15 @@ -#�x�[�X�C���[�W -FROM python:3.7.2 +#�x�[�X�C���[�W +FROM python:3.10.13 -#Dockerfile�Ɠ��f�B���N�g���ɂ���app�t�H���_���R���e�i�����֒lj� +#Dockerfile�Ɠ��f�B���N�g���ɂ���app�t�H���_���R���e�i�����֒lj� ADD app /app -#Dockerfile�r���h���Ɏ��s�����R�}���h +#Dockerfile�r���h���Ɏ��s�����R�}���h RUN pip install --upgrade pip RUN pip install -r /app/requirements.txt -# workdirectory �쐬 +# workdirectory �쐬 WORKDIR /app -#�R���e�i�N�����Ɏ��s�����R�}���h +#�R���e�i�N�����Ɏ��s�����R�}���h CMD python -u main.py