mirror of
https://github.com/babysor/MockingBird.git
synced 2024-03-22 13:11:31 +08:00
ddd478c0ad
* Init App * init server.py (#93) * init server.py * Update requirements.txt Add requirement Co-authored-by: auau <auau@test.com> Co-authored-by: babysor00 <babysor00@gmail.com> * Run web.py! Run web.py! Co-authored-by: balala <Ozgay@users.noreply.github.com> Co-authored-by: auau <auau@test.com>
10 lines
162 B
Plaintext
10 lines
162 B
Plaintext
|
|
FROM python:3.7
|
|
|
|
RUN pip install gevent uwsgi flask
|
|
|
|
COPY app.py /app.py
|
|
|
|
EXPOSE 3000
|
|
|
|
ENTRYPOINT ["uwsgi", "--http", ":3000", "--master", "--module", "app:app"] |