twenty/infra/prod/front/Dockerfile
Félix Malfait 96e3f2c7ea
Small fixes: broken links and unused files (#116)
* Remove node modules and package.json from root
* Remove unused references to FontAwesome
* Fix documentation link
2023-05-12 10:35:06 +02:00

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"]