Alibrown commited on
Commit
3ffdfd6
·
verified ·
1 Parent(s): a8a8ccf

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -17,12 +17,12 @@ RUN pip install --no-cache-dir -r requirements.txt
17
  # App-Code kopieren
18
  COPY ./app /code/app
19
 
20
- # Port freigeben
21
  EXPOSE 7860
22
 
23
  # Healthcheck hinzufügen
24
  HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
25
  CMD curl -f http://localhost:7860/ || exit 1
26
 
27
- # Start-Command
28
- CMD ["python", "app/app.py"]
 
17
  # App-Code kopieren
18
  COPY ./app /code/app
19
 
20
+ # Port freigeben (Discord-Bots nutzen keinen Webserver-Port, aber wir lassen dies für den Healthcheck)
21
  EXPOSE 7860
22
 
23
  # Healthcheck hinzufügen
24
  HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
25
  CMD curl -f http://localhost:7860/ || exit 1
26
 
27
+ # Start-Command für Discord-Bot
28
+ CMD ["python", "app/app.py"]