diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..c2c839e --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,8 @@ +version: "3" +services: + web: + build: + context: ./ + dockerfile: dockerfile + ports: + - "3158:3158" diff --git a/dockerfile b/dockerfile new file mode 100644 index 0000000..8666dcd --- /dev/null +++ b/dockerfile @@ -0,0 +1,15 @@ +FROM node:16-alpine + +WORKDIR /app + +COPY frontend . + +RUN yarn \ + && yarn generate + + +ENV PORT 3158 + +EXPOSE 3158 + +CMD ["yarn", "start"] \ No newline at end of file diff --git a/frontend/assets/sass/global.scss b/frontend/assets/sass/global.scss index f1cb1df..2ca80d1 100644 --- a/frontend/assets/sass/global.scss +++ b/frontend/assets/sass/global.scss @@ -5,9 +5,10 @@ body { background-color: #f8cdd6; } -html { - overflow-y:hidden !important; -} +// html { +// overflow-y:hidden; +// @apply overflow-y-auto md:overflow-y-hidden; +// } canvas { width: 100%; diff --git a/frontend/components/model/LeftModel.vue b/frontend/components/model/LeftModel.vue index 0c8351f..5886635 100644 --- a/frontend/components/model/LeftModel.vue +++ b/frontend/components/model/LeftModel.vue @@ -1,4 +1,5 @@