mirror of
https://github.com/silenty4ng/k5web
synced 2025-01-15 08:15:18 +00:00
Compare commits
6 commits
2174e37c6a
...
ec2a1999ee
Author | SHA1 | Date | |
---|---|---|---|
|
ec2a1999ee | ||
|
7539a256b4 | ||
|
5f51244edf | ||
|
8c752fcdee | ||
|
9ead2a17ae | ||
|
8bb37a94fc |
2 changed files with 24 additions and 0 deletions
13
Dockerfile
Normal file
13
Dockerfile
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
FROM node:22
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
COPY yarn.lock package.json ./
|
||||||
|
|
||||||
|
RUN yarn install
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
EXPOSE 5173
|
||||||
|
|
||||||
|
CMD ["yarn", "dev", "--host", "0.0.0.0"]
|
11
docker-compose.yml
Normal file
11
docker-compose.yml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
version: "3.5"
|
||||||
|
services:
|
||||||
|
k5web:
|
||||||
|
build: .
|
||||||
|
container_name: k5web
|
||||||
|
network_mode: "bridge"
|
||||||
|
ports:
|
||||||
|
- "5173:5173"
|
||||||
|
environment:
|
||||||
|
- TZ=Asia/Shanghai
|
||||||
|
restart: always
|
Loading…
Reference in a new issue