Rename the config dir to setup

This commit is contained in:
kaiyou
2018-04-22 16:10:25 +02:00
parent 40720fb3ea
commit f5538698d3
17 changed files with 0 additions and 0 deletions

18
setup/Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM python:3-alpine
RUN mkdir -p /app
WORKDIR /app
COPY requirements.txt requirements.txt
RUN apk add --no-cache git \
&& pip install -r requirements.txt
COPY server.py ./server.py
COPY setup.py ./setup.py
COPY main.py ./main.py
RUN python setup.py https://github.com/mailu/mailu /data
EXPOSE 80/tcp
CMD gunicorn -w 4 -b 0.0.0.0:80 -b [::]:80 --access-logfile - --error-logfile - --preload main:app