diff --git a/docker/docker-compose.dev.yml b/docker/docker-compose.dev.yml index bc187455a9..60685d84d6 100644 --- a/docker/docker-compose.dev.yml +++ b/docker/docker-compose.dev.yml @@ -55,7 +55,6 @@ services: image: immich-web-dev:latest build: context: ../web - target: dev command: ['/usr/src/app/bin/immich-web'] env_file: - .env diff --git a/web/Dockerfile b/web/Dockerfile index fbefbbec1b..7be16ae01b 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20.17.0-alpine3.20@sha256:2d07db07a2df6830718ae2a47db6fedce6745f5bcd174c398f2acdda90a11c03 AS dev +FROM node:20.17.0-alpine3.20@sha256:2d07db07a2df6830718ae2a47db6fedce6745f5bcd174c398f2acdda90a11c03 RUN apk add --no-cache tini USER node @@ -9,6 +9,3 @@ ENV CHOKIDAR_USEPOLLING=true EXPOSE 24678 EXPOSE 3000 ENTRYPOINT ["/sbin/tini", "--", "/bin/sh"] - -FROM dev -COPY --chown=node:node . . \ No newline at end of file