dossier-translation / Dockerfile
fadliaulawi's picture
Add HF workflows
0391325
raw
history blame
490 Bytes
# Use the smallest possible Python base image
FROM python:3.11-slim
# Set the working directory in the container
WORKDIR /.
# Copy the requirements file into the container
COPY requirements.txt ./
# Install any Python dependencies specified in requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
# Copy the rest of the application code into the container
COPY . .
EXPOSE 8080
# Command to run the application
CMD ["streamlit", "run", "app.py", "--server.port", "8080"]