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.
|
FROM python:3.10-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apk update && \
|
|
apk upgrade && \
|
|
apk add gcc libc-dev libffi-dev cargo && \
|
|
python -m pip install --upgrade pip && \
|
|
pip install poetry
|
|
|
|
|
|
COPY ["pyproject.toml", "./"]
|
|
|
|
RUN poetry install
|
|
|
|
COPY . .
|
|
|
|
RUN pip install .
|
|
|
|
CMD [ "mitmproxy2swagger" ]
|