init commit
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
FROM python:3-alpine
|
||||
|
||||
RUN mkdir -p /usr/src/app
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY gen/requirements.txt /usr/src/app/
|
||||
|
||||
RUN pip install --upgrade pip
|
||||
|
||||
RUN pip3 install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY gen /usr/src/app
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
ENTRYPOINT ["python3"]
|
||||
|
||||
CMD ["-m", "openapi_server"]
|
||||
Reference in New Issue
Block a user