date_diff
Dockerfile
This commit is contained in:
2
date_diff.py
Normal file → Executable file
2
date_diff.py
Normal file → Executable file
@@ -1,4 +1,4 @@
|
|||||||
#! python
|
#! /usr/bin/python
|
||||||
import sys
|
import sys
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|
||||||
|
@@ -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"]
|
||||||
|
Reference in New Issue
Block a user