docker building

This commit is contained in:
Mạnh Tường Solo 2024-09-15 10:20:02 +07:00 committed by GitHub
parent 621cdae64d
commit e212d3356b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,4 +2,5 @@ FROM node:hydrogen-alpine
COPY . /app
WORKDIR /app/web
RUN yarn add -D vite
CMD ["yarn","dev"]
EXPOSE 5173
CMD ["yarn","dev", "--host", "0.0.0.0"]