mirror of
https://github.com/alangrainger/immich-public-proxy.git
synced 2024-12-29 12:21:57 +00:00
15 lines
272 B
Docker
15 lines
272 B
Docker
FROM node:lts-slim
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package.json ./
|
|
|
|
RUN npm install --omit=dev
|
|
|
|
COPY . .
|
|
|
|
# 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" ]
|