TAFA / Dockerfile
KitTheBit's picture
Create Dockerfile
a4a6ad0 verified
raw
history blame contribute delete
361 Bytes
# Use a specific version for the base image
FROM python:3.11-slim-bullseye
# Set a working directory in the container
WORKDIR /app
# Install dependencies
RUN pip install curl_cffi requests httpx dnspython
# Copy application files to the container at /app
COPY . /app
# Expose the desired port
EXPOSE 7860
# Command to run the script
CMD ["python", "run.py"]