This commit is contained in:
Shihaam Abdul Rahman 2023-04-08 20:26:26 +05:00
parent bf2993743f
commit 8425b8fb67
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636
3 changed files with 26 additions and 0 deletions

9
.build/Dockerfile Normal file
View File

@ -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

View File

@ -0,0 +1,9 @@
version: '3.5'
services:
#########################
honestyui:
build:
context: ..
dockerfile: .build/Dockerfile
hostname: honestyui
image: honestyui

8
docker-compose.yml Normal file
View File

@ -0,0 +1,8 @@
version: '3.5'
services:
#########################
honestyui:
hostname: honestyui
image: honestyui
ports:
- 5173:5173