File size: 351 Bytes
1555dd7
 
 
 
 
 
 
cf2e647
1555dd7
 
 
 
 
 
 
b196c4e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Use a specific version for the base image
FROM python:3.11-slim

# Set a working directory in the container
WORKDIR /app

# Install dependencies
RUN pip install  requests flask uvicorn bs4 lxml
# Copy application files to the container at /app
COPY . /app

# Expose the desired port
EXPOSE 8080

# Command to run the script
CMD ["python", "test.py"]