API_Microservices/swagger/Dockerfile

16 lines
248 B
Text
Raw Permalink Normal View History

2024-03-27 17:07:47 +01:00
FROM python:3.6-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", "swagger_server"]