13 lines
310 B
Docker
13 lines
310 B
Docker
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 |