test2 / Dockerfile
LoremPizza's picture
Update Dockerfile
cf2e647 verified
raw
history blame contribute delete
351 Bytes
# 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"]