1
0
Fork 0
mirror of https://github.com/silenty4ng/k5web synced 2025-04-06 16:47:24 +00:00

Create Dockerfile

This commit is contained in:
sysuid 2024-06-07 12:29:30 +08:00 committed by GitHub
parent 2174e37c6a
commit 8bb37a94fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

17
Dockerfile Normal file
View file

@ -0,0 +1,17 @@
FROM node:22
WORKDIR /app
COPY yarn.lock package.json ./
RUN npm config set registry https://registry.npmmirror.com
RUN yarn config set registry https://registry.npmmirror.com
RUN yarn install
COPY . .
EXPOSE 5173
CMD ["yarn", "dev", "--host", "0.0.0.0"]