diff --git a/.build/Dockerfile b/.build/Dockerfile new file mode 100644 index 0000000..c9d341c --- /dev/null +++ b/.build/Dockerfile @@ -0,0 +1,9 @@ +FROM node:18.15.0-alpine3.17 + +WORKDIR /root +COPY . . + +RUN npm install \ + && rm -rf /usr/local/share/.cache + +CMD npm run dev diff --git a/.build/docker-compose.yml b/.build/docker-compose.yml new file mode 100644 index 0000000..b156a66 --- /dev/null +++ b/.build/docker-compose.yml @@ -0,0 +1,9 @@ +version: '3.5' +services: +######################### + honestyui: + build: + context: .. + dockerfile: .build/Dockerfile + hostname: honestyui + image: honestyui diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..5574474 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,8 @@ +version: '3.5' +services: +######################### + honestyui: + hostname: honestyui + image: honestyui + ports: + - 5173:5173