mirror of
https://github.com/gsi-upm/senpy
synced 2024-10-31 23:41:41 +00:00
fbf0384985
* Replaced gevent (testing) * Trying the slim python image (1/3 of previous size)
10 lines
222 B
Groff
10 lines
222 B
Groff
from python:3.4-slim
|
|
|
|
WORKDIR /usr/src/app
|
|
ADD requirements.txt /usr/src/app/
|
|
RUN pip install -r requirements.txt
|
|
ADD . /usr/src/app/
|
|
RUN pip install .
|
|
|
|
ENTRYPOINT ["python", "-m", "senpy", "-f", ".", "--host", "0.0.0.0"]
|