discord-bot / Dockerfile
Alibrown's picture
Create Dockerfile
a9e005e verified
raw
history blame
291 Bytes
# Nutze ein Basis-Python-Image
FROM python:3.10-slim
# Arbeitsverzeichnis festlegen
WORKDIR /app
# Anforderungen hinzufügen
COPY requirements.txt .
RUN pip install -r requirements.txt
# App-Code hinzufügen
COPY . .
# Container-Port und Startbefehl
EXPOSE 8080
CMD ["python", "app.py"]