mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
chore(server) revert Dockerfile (#878)
This commit is contained in:
parent
b3a82b1b20
commit
676ad2d34f
3 changed files with 12 additions and 29 deletions
|
|
@ -6,8 +6,9 @@ COPY LICENSE /LICENSE
|
|||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
RUN chown node:node /usr/src/app && \
|
||||
apk add --no-cache setpriv
|
||||
RUN chown node:node /usr/src/app
|
||||
|
||||
RUN apk add --no-cache setpriv
|
||||
|
||||
COPY --chown=node:node package*.json ./
|
||||
|
||||
|
|
@ -15,11 +16,7 @@ RUN npm ci
|
|||
|
||||
COPY --chown=node:node . .
|
||||
|
||||
RUN npm run build \
|
||||
&& chown -R node:0 /usr/src/app \
|
||||
&& chmod -R g=u /usr/src/app
|
||||
|
||||
RUN addgroup node root
|
||||
RUN npm run build
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue