mirror of
https://github.com/MaxenceG2M/prometheus-immich-exporter.git
synced 2025-12-08 23:03:22 +00:00
fix: fix errors caused by changes in immich API and fix build fails
This commit is contained in:
@@ -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=""
|
||||
|
||||
Reference in New Issue
Block a user