kavita-books-organizer/Dockerfile

13 lines
163 B
Docker
Raw Permalink Normal View History

2023-05-30 01:26:55 -05:00
FROM node:16.6.1-alpine
WORKDIR /opt/app
COPY package*.json ./
RUN npm ci --only=prod
COPY . .
ENV NODE_ENV=production
ENV FILES_DIR=NULL
CMD ["npm", "start"]