forked from loafle/openapi-generator-original
* Remove trailing underscore in security_controller_.py and base_model_.py * Regenerating sample files * Clean-up files with trailing underscore in samples * Update security extension to use the new security_controller * Regenerate unmaintained samples
16 lines
246 B
Docker
16 lines
246 B
Docker
FROM python:3-alpine
|
|
|
|
RUN mkdir -p /usr/src/app
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY requirements.txt /usr/src/app/
|
|
|
|
RUN pip3 install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . /usr/src/app
|
|
|
|
EXPOSE 8080
|
|
|
|
ENTRYPOINT ["python3"]
|
|
|
|
CMD ["-m", "openapi_server"] |