Update docker files for astro
This commit is contained in:
parent
b00404125c
commit
d86c1489d9
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,6 +6,7 @@ node_modules
|
|||||||
.netlify
|
.netlify
|
||||||
.wrangler
|
.wrangler
|
||||||
/.astro
|
/.astro
|
||||||
|
/dist
|
||||||
/build
|
/build
|
||||||
/data
|
/data
|
||||||
|
|
||||||
|
@ -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"]
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user