forked from loafle/openapi-generator-original
* Issue 1766 Modified mustache files for Go to support nullable in the spec v3.0+; Updated model files running .sh scripts for Go. * Add "nullable" to fake yaml * Add sample script for OAS3 * Fix output folder (openapi3) * Run bin/openapi3/go-petstore.sh * Update samples * Update jaxrs-jersey * Update python and php samples * Add bin/openapi3/go-gin-petstore-server.sh * Run bin/openapi3/go-gin-petstore-server.sh * Update bin/openapi3/go-petstore-server.sh to generate "nullable" samples * Run bin/openapi3/go-petstore-server.sh * Fix duplicated `import`
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"] |