csietingkai / money

0 stars 1 forks source link

refresh account page blank #18

Closed csietingkai closed 3 weeks ago

csietingkai commented 3 weeks ago

duplicate #15

csietingkai commented 3 weeks ago

cannot reappear in dev

csietingkai commented 3 weeks ago

wierd cannot reappear in web prod now maybe happen next time => new issue again

csietingkai commented 3 weeks ago

happened in normal usage not happened when devtool(F12) open

csietingkai commented 3 weeks ago

maybe change frontend dockerfile

# build environment
FROM node:14.20.0-alpine3.15 as builder
WORKDIR /app
COPY . .
RUN npm install
ENV PATH /app/node_modules/.bin:$PATH
RUN npm run build

# production environment
FROM httpd:2.4.59-alpine3.20
COPY --from=builder /app/build /usr/local/apache2/htdocs
EXPOSE 80
CMD ["httpd-foreground"]
csietingkai commented 3 weeks ago

try add frontend env with default currency TWD

csietingkai commented 3 weeks ago

most possible is vite cache or docker cache

csietingkai commented 3 weeks ago

maybe add package-lock.json into .dockerignore will fix