fix: enable Docker container access by adding --host flag to Astro preview command
This commit is contained in:
parent
aaf0f94fe9
commit
b0a7ab4f81
@ -31,4 +31,4 @@ COPY public ./public
|
|||||||
EXPOSE 4321
|
EXPOSE 4321
|
||||||
|
|
||||||
# Start the Astro preview server
|
# Start the Astro preview server
|
||||||
CMD ["npx", "astro", "preview"]
|
CMD ["npx", "astro", "preview", "--host"]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user