Browse Source

date_diff

Dockerfile
master
Olli Graf 20 hours ago
parent
commit
58b4c6e116
  1. 2
      date_diff.py
  2. 4
      docker/Dockerfile

2
date_diff.py

@ -1,4 +1,4 @@
#! python #! /usr/bin/python
import sys import sys
from datetime import datetime from datetime import datetime

4
docker/Dockerfile

@ -1,5 +1,5 @@
# Python Basis-Image # Python Basis-Image
FROM python:3.8 FROM python:3.11-alpine
# Arbeitsverzeichnis innerhalb des Containers # Arbeitsverzeichnis innerhalb des Containers
WORKDIR /app WORKDIR /app
@ -19,4 +19,4 @@ COPY fib/static /app/static
COPY fib/templates /app/templates COPY fib/templates /app/templates
# Befehl, der die Anwendung startet # Befehl, der die Anwendung startet
CMD ["python", "app.py"] CMD ["python", "/app/app.py"]

Loading…
Cancel
Save