1
0
Fork 0
mirror of https://github.com/alangrainger/immich-public-proxy.git synced 2025-01-16 12:56:45 +01:00
immich-public-proxy/Dockerfile

18 lines
297 B
Docker
Raw Normal View History

2024-10-31 19:17:58 +01:00
FROM node:lts-slim
WORKDIR /app
COPY package.json ./
RUN npm install --omit=dev
COPY . .
2024-11-01 19:02:31 +01:00
ENV NODE_ENV=production
# Build without type checking, as we have removed the Typescript
# dev-dependencies above to save space in the final build
RUN npx tsc --noCheck
CMD [ "node", "dist/index.js" ]