2023-03-20 12:55:39 +00:00
|
|
|
FROM node:18.15.0-alpine3.16
|
|
|
|
|
2023-03-24 11:53:54 +00:00
|
|
|
RUN apk --update --no-cache add make git python3
|
2023-03-20 12:55:39 +00:00
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
COPY . .
|
|
|
|
|
2023-03-24 11:53:54 +00:00
|
|
|
RUN yarn global add serve
|
|
|
|
|
2023-03-20 12:55:39 +00:00
|
|
|
RUN echo "Building react-peer" && \
|
2023-03-24 11:53:54 +00:00
|
|
|
yarn install --ignore-scripts && yarn build --ignore @cerc-io/test-app
|
2023-03-20 12:55:39 +00:00
|
|
|
|
|
|
|
WORKDIR /app
|