Files
twenty/infra/prod/server/Dockerfile
Félix Malfait 31f3950439 Add a custom rule to prevent colors from being hardcoded outside of theme (#288)
* Add a custom rule to prevent colors from being hardcoded in ESLint

* Refactor colors

* Create packages folder and fix colors

* Remove external dependency for css alphabetical order linting

* Fix install with yarn

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-06-14 16:56:29 +02:00

14 lines
214 B
Docker

FROM node:18.16.0-alpine as server
WORKDIR /app/server
COPY ./server/package.json ./
COPY ./server/yarn.lock ./
RUN yarn install
COPY ./server .
RUN npx prisma generate
RUN yarn build
CMD ["node", "dist/main"]