mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-24 12:34:10 +03:00
96e3f2c7ea
* Remove node modules and package.json from root * Remove unused references to FontAwesome * Fix documentation link
15 lines
206 B
Docker
15 lines
206 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 npm install
|
|
RUN npm run build
|
|
|
|
RUN npm install -g serve
|
|
|
|
CMD ["serve", "-s", "build"]
|