mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-19 17:42:27 +03:00
17 lines
238 B
Docker
17 lines
238 B
Docker
FROM node:18.16.0-alpine as front
|
|
|
|
ARG REACT_APP_API_URL
|
|
ARG REACT_APP_AUTH_URL
|
|
|
|
COPY ../packages/ /app/packages
|
|
|
|
WORKDIR /app/front
|
|
COPY ./front .
|
|
|
|
RUN yarn install
|
|
RUN yarn build
|
|
|
|
RUN yarn install -g serve
|
|
|
|
CMD ["serve", "-s", "build"]
|