1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-26 10:50:29 +02:00

chore: respond to PR: don't add dev target

web/Dockerfile is only used by docker-compose.dev.yml so a dev target is redundant. Instead, just remove the copy
This commit is contained in:
Yonathan Randolph 2024-10-13 02:35:59 -07:00
parent 2d6d043336
commit e3e8fe25c9
2 changed files with 1 additions and 5 deletions

View File

@ -55,7 +55,6 @@ services:
image: immich-web-dev:latest image: immich-web-dev:latest
build: build:
context: ../web context: ../web
target: dev
command: ['/usr/src/app/bin/immich-web'] command: ['/usr/src/app/bin/immich-web']
env_file: env_file:
- .env - .env

View File

@ -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 RUN apk add --no-cache tini
USER node USER node
@ -9,6 +9,3 @@ ENV CHOKIDAR_USEPOLLING=true
EXPOSE 24678 EXPOSE 24678
EXPOSE 3000 EXPOSE 3000
ENTRYPOINT ["/sbin/tini", "--", "/bin/sh"] ENTRYPOINT ["/sbin/tini", "--", "/bin/sh"]
FROM dev
COPY --chown=node:node . .