Initial commit
This commit is contained in:
parent
387bc056b9
commit
df8c2313a9
275 changed files with 12939 additions and 263 deletions
|
|
@ -7,12 +7,14 @@ WORKDIR /app
|
|||
# Abhängigkeiten installieren
|
||||
COPY requirements.txt requirements.txt
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
RUN apt update
|
||||
RUN apt install curl -y
|
||||
|
||||
# App-Dateien kopieren
|
||||
COPY . .
|
||||
|
||||
# Flask Umgebungsvariable setzen
|
||||
ENV FLASK_APP=app
|
||||
ENV FLASK_ENV=production
|
||||
|
||||
# Flask starten
|
||||
EXPOSE 5000
|
||||
CMD ["flask", "run", "--host=0.0.0.0", "--port=5000"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue