mirror of
https://github.com/alangrainger/immich-public-proxy.git
synced 2025-01-24 00:12:43 +01:00
Move NODE_ENV from docker-compose
This commit is contained in:
parent
f639896644
commit
331eb87207
2 changed files with 2 additions and 2 deletions
|
@ -8,6 +8,8 @@ RUN npm install --omit=dev
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
# Build without type checking, as we have removed the Typescript
|
# Build without type checking, as we have removed the Typescript
|
||||||
# dev-dependencies above to save space in the final build
|
# dev-dependencies above to save space in the final build
|
||||||
RUN npx tsc --noCheck
|
RUN npx tsc --noCheck
|
||||||
|
|
|
@ -5,8 +5,6 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- ${PORT}:3000
|
- ${PORT}:3000
|
||||||
environment:
|
|
||||||
- NODE_ENV=production
|
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|
Loading…
Reference in a new issue