Connexion OAuth depuis site + Comptage rewards SQL

This commit is contained in:
Zachary Guénot
2023-05-09 00:32:43 +02:00
parent be73cd765d
commit 172f811e91
19 changed files with 712 additions and 123 deletions

10
Dockerfile Executable file
View File

@@ -0,0 +1,10 @@
FROM node:latest
ENV NODE_ENV=production
WORKDIR /usr/src/app
COPY ["package.json", "package-lock.json*", "./"]
RUN npm install --production --silent && mv node_modules ../
COPY . .
RUN chown -R node /usr/src/app
USER node
EXPOSE 3000
CMD ["npm", "start"]