Translator-Clone / Dockerfile
mikmc5's picture
Upload 7 files
5c4892f verified
Raw History Blame Contribute Delete
398 Bytes
FROM python:3.12-slim
# Set the working directory
WORKDIR /app
# Copy project files
COPY . /app
# Install required packages
RUN apt-get update && \
apt-get install -y --no-install-recommends python3-dotenv && \
apt-get clean && rm -rf /var/lib/apt/lists/*
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Run the application
CMD ["python", "main.py"]