diff --git a/backend/Dockerfile b/backend/Dockerfile index 996314c1..f95477dd 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -7,3 +7,5 @@ WORKDIR /code COPY pyproject.toml poetry.lock ./ RUN poetry install --only main + +COPY . ./ \ No newline at end of file diff --git a/frontend/src/components/courses/CourseDetailCard.vue b/frontend/src/components/courses/CourseDetailCard.vue index 910f9a1b..dc5689c9 100644 --- a/frontend/src/components/courses/CourseDetailCard.vue +++ b/frontend/src/components/courses/CourseDetailCard.vue @@ -17,6 +17,7 @@ const { t } = useI18n(); const images = Object.keys( import.meta.glob('@/assets/img/placeholders/*', { eager: true, + query: 'url', }), ); diff --git a/frontend/src/components/courses/CourseGeneralCard.vue b/frontend/src/components/courses/CourseGeneralCard.vue index 8243b985..aa3bf8f2 100644 --- a/frontend/src/components/courses/CourseGeneralCard.vue +++ b/frontend/src/components/courses/CourseGeneralCard.vue @@ -17,7 +17,7 @@ const { user } = storeToRefs(useAuthStore()); /* State */ const images = Object.keys( import.meta.glob('@/assets/img/faculties/*', { - eager: true, + eager: true, query: 'url' }), ); diff --git a/frontend/src/vite-env.d.ts b/frontend/src/vite-env.d.ts index 710a84d5..2dfd5544 100644 --- a/frontend/src/vite-env.d.ts +++ b/frontend/src/vite-env.d.ts @@ -1,3 +1,4 @@ // eslint-disable-next-line @typescript-eslint/triple-slash-reference /// declare module 'js-cookie'; +declare module 'jsdom';