k5web/Dockerfile
2024-06-07 12:29:30 +08:00

17 lines
263 B
Docker

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"]