11 lines
No EOL
268 B
Docker
11 lines
No EOL
268 B
Docker
#Download Python from DockerHub and use it
|
|
FROM python:alpine
|
|
|
|
#Set the working directory in the Docker container
|
|
WORKDIR /code
|
|
|
|
#Copy the dependencies file to the working directory
|
|
COPY requirements.txt .
|
|
|
|
#Install the dependencies
|
|
RUN pip install -r requirements.txt |