mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
chore(docker): Default NODE_ENV to production for server image and update alpine version (#2157)
* default NODE_ENV to production for server image * update node image to use 3.17 alpine in server * update web docker image to use alpine 3.17 * remove NODE_ENV from production docker-compose * NODE_ENV is also needed default in machine-learning
This commit is contained in:
parent
c584791b65
commit
2dcccb37a0
4 changed files with 7 additions and 9 deletions
|
|
@ -11,6 +11,8 @@ RUN /opt/venv/bin/pip install --no-deps sentence-transformers
|
|||
|
||||
FROM python:3.10-slim
|
||||
|
||||
ENV NODE_ENV=production
|
||||
|
||||
COPY --from=builder /opt/venv /opt/venv
|
||||
|
||||
ENV TRANSFORMERS_CACHE=/cache \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue