Add Hasura

This commit is contained in:
Charles Bochet
2022-12-28 22:32:55 +01:00
parent 9b749c6de3
commit 9fb4f21180
5 changed files with 70 additions and 17 deletions

View File

@ -0,0 +1,14 @@
FROM node:18-alpine as app
WORKDIR /app
COPY . .
WORKDIR /app/front
RUN npm install
RUN npm run build
WORKDIR /app/server
RUN npm install
RUN npm run build
CMD ["npm", "run", "start:prod"]