twenty/infra/prod/front/Dockerfile
Charles Bochet a975935f49
Connect profile picture upload to backend (#533)
* Connect profile picture upload to backend

* Fix tests

* Revert onboarding state changes
2023-07-07 17:50:02 -07:00

18 lines
261 B
Docker

FROM node:18.16.0-alpine as front
ARG REACT_APP_API_URL
ARG REACT_APP_AUTH_URL
ARG REACT_APP_FILES_URL
COPY ./packages/ /app/packages
WORKDIR /app/front
COPY ./front .
RUN yarn install
RUN yarn build
RUN yarn global add serve
CMD ["serve", "-s", "build"]