fix docker build issues

This commit is contained in:
June 2025-08-12 14:02:45 +12:00
parent 75e435bd03
commit c796709ea0
Signed by: breadone
GPG Key ID: FDC19FE143200483
2 changed files with 3 additions and 0 deletions

1
.gitignore vendored
View File

@ -18,6 +18,7 @@ Thumbs.db
.env.* .env.*
!.env.example !.env.example
!.env.test !.env.test
Makefile
# Vite # Vite
vite.config.js.timestamp-* vite.config.js.timestamp-*

View File

@ -3,6 +3,8 @@ WORKDIR /app
COPY package*.json ./ COPY package*.json ./
RUN npm i RUN npm i
COPY . . COPY . .
ENV PUBLIC_PB_URL=http://pb:8080
RUN npm run build RUN npm run build
EXPOSE 4173 EXPOSE 4173