Add Hasura and dockerify dev env
This commit is contained in:
14
infra/dev/twenty-server/Dockerfile
Normal file
14
infra/dev/twenty-server/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user