mirror of
https://github.com/immich-app/immich.git
synced 2024-12-28 22:51:59 +00: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:
parent
2d6d043336
commit
e3e8fe25c9
2 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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 . .
|
Loading…
Reference in a new issue