mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 19:08:52 +00:00
3758aad225
* update python flask default value * update python flask samples
16 lines
244 B
Docker
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"] |