beatsaber-metrics-tracker/Dockerfile
Liam 7b27079410
Some checks failed
deploy / deploy (push) Failing after 29s
inital commit
2023-10-27 12:10:20 +01:00

10 lines
272 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 --production --silent && mv node_modules ../
COPY . .
RUN chown -R node /usr/src/app
USER node
CMD ["npm", "start"]