mirror of
https://github.com/immich-app/immich.git
synced 2024-12-26 10:50:29 +02:00
3edc87f684
* fix(deps): update machine-learning * updated ruff command * use isinstance --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
22 lines
683 B
Docker
22 lines
683 B
Docker
FROM mambaorg/micromamba:bookworm-slim@sha256:a7033851ca71454ed8cfbc958fdd62a72e6fa90f71ccb3aa9b15e67a98f66a1e as builder
|
|
|
|
ENV NODE_ENV=production \
|
|
TRANSFORMERS_CACHE=/cache \
|
|
PYTHONDONTWRITEBYTECODE=1 \
|
|
PYTHONUNBUFFERED=1 \
|
|
PATH="/opt/venv/bin:$PATH" \
|
|
PYTHONPATH=/usr/src
|
|
|
|
COPY --chown=$MAMBA_USER:$MAMBA_USER conda-lock.yml /tmp/conda-lock.yml
|
|
RUN micromamba install -y -n base -f /tmp/conda-lock.yml && \
|
|
micromamba remove -y -n base cxx-compiler && \
|
|
micromamba clean --all --yes
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY --chown=$MAMBA_USER:$MAMBA_USER start.sh .
|
|
COPY --chown=$MAMBA_USER:$MAMBA_USER app .
|
|
|
|
ENTRYPOINT ["/usr/local/bin/_entrypoint.sh"]
|
|
CMD ["./start.sh"]
|