15 lines
305 B
Docker
15 lines
305 B
Docker
# Use a Python base image
|
|
FROM python:3.9
|
|
|
|
# Set the working directory
|
|
WORKDIR /app
|
|
|
|
# Copy the Python file and .env file to the working directory
|
|
COPY auto_mapper.py .
|
|
COPY .env .
|
|
|
|
# Install dependencies
|
|
RUN pip install --no-cache-dir python-dotenv
|
|
|
|
# Run the Python file
|
|
CMD ["python", "auto_mapper.py"] |