13 lines
286 B
Docker
13 lines
286 B
Docker
|
#Download Python from DockerHub and use it
|
||
|
FROM python:3.11.3
|
||
|
|
||
|
#Set the working directory in the Docker container
|
||
|
WORKDIR /app
|
||
|
|
||
|
#Copy the dependencies file to the working directory
|
||
|
COPY ./requirements.txt .
|
||
|
|
||
|
#Install the dependencies
|
||
|
RUN pip install -r requirements.txt
|
||
|
|
||
|
COPY ./flask/ .
|