* 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>
15 lines
221 B
Docker
15 lines
221 B
Docker
FROM node:18.16.0-alpine as front
|
|
|
|
ARG REACT_APP_API_URL
|
|
ARG REACT_APP_AUTH_URL
|
|
|
|
WORKDIR /app/front
|
|
COPY ./front .
|
|
|
|
RUN yarn install --install-links
|
|
RUN yarn build
|
|
|
|
RUN yarn install -g serve
|
|
|
|
CMD ["serve", "-s", "build"]
|