mirror of
https://github.com/immich-app/immich.git
synced 2024-11-15 18:08:48 -07:00
330648ff44
* chore: use full semver docker tag for node images * Update server/Dockerfile Co-authored-by: bo0tzz <git@bo0tzz.me> --------- Co-authored-by: bo0tzz <git@bo0tzz.me>
13 lines
264 B
Docker
13 lines
264 B
Docker
FROM node:20.13.1-alpine3.18
|
|
|
|
RUN apk add --no-cache tini
|
|
USER node
|
|
WORKDIR /usr/src/app
|
|
COPY --chown=node:node package*.json ./
|
|
RUN npm ci
|
|
COPY --chown=node:node . .
|
|
ENV CHOKIDAR_USEPOLLING=true
|
|
EXPOSE 24678
|
|
EXPOSE 3000
|
|
ENTRYPOINT ["/sbin/tini", "--", "/bin/sh"]
|