From 7f714052b463422ca60ed704274a0a463b9cee17 Mon Sep 17 00:00:00 2001 From: Teemu-Kostamo Date: Sat, 20 Apr 2024 18:13:39 +0300 Subject: [PATCH] korjaus Dockerfile "python:latest" --- Dockerfile | 3 ++- requirements.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 11b79dd..d68d4e1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ -FROM python:3.10-alpine +FROM python:latest COPY requirements.txt requirements.txt +RUN pip install --upgrade pip RUN pip install --no-cache-dir -r requirements.txt COPY . src diff --git a/requirements.txt b/requirements.txt index 5ff65d6..f8648a8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ Django djangorestframework>=3.13.1,<3.14.0 PILLOW -MySQLdb \ No newline at end of file +mysqlclient \ No newline at end of file