mirror of
https://github.com/aronwk-aaron/MSState-Library-ETD.git
synced 2026-04-25 13:48:13 -05:00
55dea340e4
Can be built and run in docker
12 lines
224 B
Docker
12 lines
224 B
Docker
FROM python:3.7-slim
|
|
|
|
COPY requirements.txt requirements.txt
|
|
RUN pip install -r requirements.txt
|
|
RUN pip install gunicorn
|
|
COPY wsgi.py wsgi.py
|
|
COPY ./app /app
|
|
|
|
EXPOSE 8000
|
|
|
|
ENTRYPOINT ["gunicorn", "-b", ":8000", "wsgi:app"]
|