Those stack won't necessarily be on the same host, so they need to be split
6 lines
No EOL
150 B
Docker
6 lines
No EOL
150 B
Docker
FROM python:3.13-slim
|
|
WORKDIR /app
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
COPY main.py .
|
|
CMD ["python", "main.py"] |