beatsaber-metrics-tracker/Dockerfile
Liam e8ec3f6b26
Some checks failed
deploy / deploy (push) Failing after 11s
7
2023-10-27 12:17:38 +01:00

13 lines
273 B
Docker

FROM node:lts-alpine
ENV NODE_ENV=production
WORKDIR /usr/src/app
COPY ["package.json", "package-lock.json*", "npm-shrinkwrap.json*", "./"]
RUN npm install --silent && mv node_modules ../
COPY . .
RUN chown -R node /usr/src/app
USER node
RUN npx tsc
CMD ["npm", "start"]