This repository has been archived on 2025-04-03. You can view files and clone it, but cannot push or open issues or pull requests.
linux-bash-scripts/gitea/auto_mapper/Dockerfile

16 lines
378 B
Docker

# Use a Python base image
FROM python:3.9 AS zn-gitea-auto_mapper
# Set the working directory
WORKDIR /app
# Copy the Python file, .env file, and requirements.txt to the working directory
COPY auto_mapper.py .
COPY .env .
COPY requirements.txt .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Run the Python file
CMD ["python", "auto_mapper.py"]