Sign inSign up

dlwxin/hello-react

By dlwxin

•Updated about 5 years ago

Image
0

897

dlwxin/hello-react repository overview

⁠v1.0.2

FROM node:14.4.0 AS builder
WORKDIR /app
RUN git clone https://github.com/yefei0423/react-app.git && cd react-app && yarn install && yarn build

# FROM bitnami/nginx
FROM nginxinc/nginx-unprivileged:stable-alpine
COPY --from=builder /app/react-app/build .

⁠latest

FROM node:14.4.0 AS builder
WORKDIR /app
RUN git clone https://github.com/yefei0423/react-app.git && cd react-app && yarn install && yarn build

# FROM bitnami/nginx
FROM nginxinc/nginx-unprivileged:stable-alpine
WORKDIR /usr/share/nginx/html
COPY --from=builder /app/react-app/build .
USER nginx

Tag summary

Content type

Image

Digest

Size

9.5 MB

Last updated

over 5 years ago

docker pull dlwxin/hello-react