fix: fix errors caused by changes in immich API and fix build fails

This commit is contained in:
Oleksiy Fomenko
2024-06-13 11:37:26 -04:00
parent f7a2b9d947
commit fce6d437c5
2 changed files with 16 additions and 22 deletions

View File

@@ -3,14 +3,14 @@ FROM alpine:3.18.4
# Installing required packages
FROM alpine/doctl
ENV PYTHONUNBUFFERED=1
RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python
RUN python3 -m ensurepip
RUN pip3 install --no-cache --upgrade pip setuptools
RUN apk add --update --no-cache python3 py-pip && ln -sf python3 /usr/bin/python
#RUN python3 -m ensurepip
RUN pip3 install --break-system-packages --no-cache --upgrade pip setuptools
# Install package
WORKDIR /code
COPY . .
RUN pip3 install .
RUN pip3 install --break-system-packages .
ENV IMMICH_API_TOKEN=""
ENV IMMICH_HOST=""