mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-21 19:01:39 +03:00
5d06398d2e
* Remove hasura and hasura-auth * Move all models to prisma * Start implementing graphql * chore: clean package json * chore: make the code build * chore: get initial graphql.tsx file * feature: use typegql as qgl server * refactor: small refactoring * refactor: clean tests * bugfix: make all filters not case sensitive * chore: remove unused imports --------- Co-authored-by: Sammy Teillet <sammy.teillet@gmail.com>
16 lines
249 B
Docker
16 lines
249 B
Docker
FROM node:18.16.0-alpine as server
|
|
|
|
ARG SERVER_DATABASE_URL
|
|
|
|
WORKDIR /app/server
|
|
COPY ./server/package.json ./
|
|
COPY ./server/package-lock.json ./
|
|
RUN npm install
|
|
|
|
COPY ./server .
|
|
RUN npx prisma generate
|
|
|
|
RUN npm run build
|
|
|
|
CMD ["node", "dist/main"]
|