Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 5 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/python:3.10-alpine
FROM docker.io/python:3.11-alpine
ENV PYTHONUNBUFFERED 1

RUN apk add --no-cache --upgrade \
Expand All @@ -15,15 +15,12 @@ WORKDIR /wheels
COPY . /flexget

RUN pip install -U pip && \
pip wheel -r /flexget/requirements-docker.txt && \
pip install -r /flexget/dev-requirements.txt
RUN python /flexget/dev_tools.py bundle-webui
RUN pip wheel -r /flexget/requirements-docker.txt && \
pip wheel -e /flexget

WORKDIR /flexget-ui-v2
RUN wget https://github.com/Flexget/webui/releases/latest/download/dist.zip && \
unzip dist.zip && \
rm dist.zip

FROM docker.io/python:3.10-alpine
FROM docker.io/python:3.11-alpine
ENV PYTHONUNBUFFERED 1

RUN apk add --no-cache --upgrade \
Expand All @@ -43,8 +40,6 @@ RUN pip install -U pip && \
-r /requirements-docker.txt && \
rm -rf /wheels /requirements-docker.txt

COPY --from=0 /flexget-ui-v2 /usr/local/lib/python3.10/site-packages/flexget/ui/v2/

VOLUME /config
WORKDIR /config

Expand Down