another try

This commit is contained in:
Andreas Balogh committed 2021-02-16 15:52:28 +01:00
1 parent c1d80cabbd
commit 954b9380f4
6 files changed
+6 -20

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
FROM python:3.9-slim
RUN pip install flask
COPY . .
ENV FLASK_APP=flaskr/hello
EXPOSE 5000
ENTRYPOINT python3 -m flask run --host=0.0.0.0
File renamed without changes.
-13
View File
@@ -1,13 +0,0 @@
FROM python:3.9-slim
RUN apt-get update && apt-get install -y \
gcc \
wget \
&& rm -rf /var/lib/apt/lists/*
RUN pip install ZEO==5.2.1
RUN pip install flask
COPY . .
RUN chmod +x /tester.sh
RUN chmod +x /run.sh
ENV FLASK_APP=flaskr/zeo_db
EXPOSE 5000
ENTRYPOINT python3 -m flask run --host=0.0.0.0
-1
View File
@@ -1 +0,0 @@
Flask
-4
View File
@@ -1,4 +0,0 @@
#!/bin/sh
export FLASK_APP=flaskr/zeo_db
exec python3 -m flask run --host=0.0.0.0
-2
View File
@@ -1,2 +0,0 @@
mkdir var
wget webui:5000 -o var/index.html