openapi-generator/samples/server/petstore/flaskConnexion-python2/Dockerfile
William Cheng 3758aad225
Update Python flask default value (#361)
* update python flask default value

* update python flask samples
2018-05-08 10:16:25 +08:00

16 lines
244 B
Docker

FROM python:2-alpine
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY requirements.txt /usr/src/app/
RUN pip install --no-cache-dir -r requirements.txt
COPY . /usr/src/app
EXPOSE 8080
ENTRYPOINT ["python"]
CMD ["-m", "openapi_server"]