webscraping / Dockerfile
arshtech's picture
Create Dockerfile
676603a verified
raw
history blame
324 Bytes
# Using Python 3.9 base image
FROM python:3.9
# Set the working directory to /code
WORKDIR /code
# Copy requirements.txt to /code
COPY ./requirements.txt /code/requirements.txt
# Install dependencies from requirements.txt
RUN pip install -r requirements.txt
COPY . /code
CMD ["gunicorn","main:app","-b","0.0.0.0:7860"]