added docker builder

This commit is contained in:
Andreas Balogh
2021-02-09 21:33:01 +01:00
parent 4d43ecf83b
commit f381d9f026
3 changed files with 30 additions and 0 deletions

12
src/zeo/Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM python:3.9-slim
RUN apt-get update && apt-get install -y \
gcc \
&& rm -rf /var/lib/apt/lists/*
RUN pip install ZODB==5.6.0
RUN pip install ZEO==5.2.1
ADD ./zeo.conf /etc/zeo.conf
ADD ./run.sh /run.sh
RUN chmod +x /run.sh
VOLUME ["/var/zeo/fs", "/var/zeo/blobs"]
EXPOSE 8100
CMD /run.sh