Optimize car update status progress control Remove car update status page test Replace with individual component tests
14 lines
290 B
Docker
14 lines
290 B
Docker
FROM node:16-alpine as builder
|
|
|
|
ARG ENVIRONMENT=local
|
|
|
|
COPY package*.json ./
|
|
RUN npm install
|
|
COPY . .
|
|
RUN npm run build:${ENVIRONMENT}
|
|
|
|
FROM nginx:alpine
|
|
|
|
COPY --from=builder build /usr/share/nginx/html
|
|
COPY nginx.conf /etc/nginx/nginx.conf
|
|
ENV NGINX_ENTRYPOINT_QUIET_LOGS=true |