Move to Docker Compose and multiple containers
This commit is contained in:
12
admin/Dockerfile
Normal file
12
admin/Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM python:3
|
||||
|
||||
RUN mkdir -p /app
|
||||
WORKDIR /app
|
||||
|
||||
COPY freeposte ./freeposte
|
||||
COPY initdb.py .
|
||||
COPY requirements.txt .
|
||||
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
CMD gunicorn -w 4 -b 0.0.0.0:80 --access-logfile - --error-logfile - freeposte:app
|
||||
Reference in New Issue
Block a user