Why is app installation in Docker failing?

Hi Team,

I am running app in docker

FROM node:18-alpine

ARG SHOPIFY_API_KEY
ENV SHOPIFY_API_KEY=$SHOPIFY_API_KEY
EXPOSE 8082
WORKDIR /app
COPY web .
COPY .env .
RUN npm install
RUN cd frontend && npm install && npm run build
CMD ["npm", "run", "serve"]

when I try install this app which running in docker into my store , suddenly page comes up in ui then goes off and it not installing app , can help me out what could be the reason and how to fix