forked from loafle/openapi-generator-original
move openapi 3 samples to the correct folder (#3267)
This commit is contained in:
16
samples/openapi3/server/petstore/python-flask/Dockerfile
Normal file
16
samples/openapi3/server/petstore/python-flask/Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user