mirror of
https://github.com/silenty4ng/k5web
synced 2025-04-23 04:55:53 +00:00
Create Dockerfile
This commit is contained in:
parent
2174e37c6a
commit
8bb37a94fc
1 changed files with 17 additions and 0 deletions
17
Dockerfile
Normal file
17
Dockerfile
Normal 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"]
|
Loading…
Add table
Add a link
Reference in a new issue