Update docker files for astro

This commit is contained in:
June 2025-08-12 16:00:16 +12:00
parent b00404125c
commit d86c1489d9
Signed by: breadone
GPG Key ID: FDC19FE143200483
3 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -6,6 +6,7 @@ node_modules
.netlify .netlify
.wrangler .wrangler
/.astro /.astro
/dist
/build /build
/data /data

View File

@ -7,5 +7,5 @@ ENV PUBLIC_PB_URL=http://pb:8080
RUN npm run build RUN npm run build
EXPOSE 4173 EXPOSE 4321
CMD ["npm", "run", "preview", "--", "--host"] CMD ["npm", "run", "preview", "--", "--host"]

View File

@ -3,7 +3,7 @@ services:
build: . build: .
env_file: .env env_file: .env
ports: ports:
- "4173:4173" - "4321:4321"
pb: pb:
build: api build: api