From e212d3356b89f9bdbad80b47ab95feaf31e1428a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=E1=BA=A1nh=20T=C6=B0=E1=BB=9Dng=20Solo?= <41409442+vncloudsco@users.noreply.github.com> Date: Sun, 15 Sep 2024 10:20:02 +0700 Subject: [PATCH] docker building --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b783722..739d334 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,4 +2,5 @@ FROM node:hydrogen-alpine COPY . /app WORKDIR /app/web RUN yarn add -D vite -CMD ["yarn","dev"] \ No newline at end of file +EXPOSE 5173 +CMD ["yarn","dev", "--host", "0.0.0.0"] \ No newline at end of file