mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 19:08:52 +00:00
9b113d5a19
* Update samples for flaskConnexion-python2. * Update samples for flaskConnexion.
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", "swagger_server"] |