You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mitmproxy2swagger/Dockerfile

22 lines
308 B

FROM python:3.10-alpine
2 years ago
WORKDIR /app
RUN apk update && \
apk upgrade && \
apk add gcc libc-dev libffi-dev cargo && \
2 years ago
python -m pip install --upgrade pip && \
pip install poetry
COPY ["pyproject.toml", "./"]
RUN poetry install
COPY . .
RUN pip install .
CMD [ "mitmproxy2swagger" ]