mirror of
https://github.com/immich-app/immich.git
synced 2024-11-16 02:18:50 -07:00
7f03bd8440
chore: docokerfile casing
21 lines
659 B
Docker
21 lines
659 B
Docker
FROM mambaorg/micromamba:bookworm-slim@sha256:eb744eed8e9308edaea942ddd92ad8da8a9b904ca0796fa240b72de51ce0d353 AS builder
|
|
|
|
ENV 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"]
|