Skip to content

Commit

Permalink
Backend Dockerfile fix (#280)
Browse files Browse the repository at this point in the history
* fix: copy docker file

* fix: images

* chore: linting

* chore: cleanup
  • Loading branch information
EwoutV authored Apr 9, 2024
1 parent e24c736 commit f5bc347
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ WORKDIR /code

COPY pyproject.toml poetry.lock ./
RUN poetry install --only main

COPY . ./
1 change: 1 addition & 0 deletions frontend/src/components/courses/CourseDetailCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const { t } = useI18n();
const images = Object.keys(
import.meta.glob('@/assets/img/placeholders/*', {
eager: true,
query: 'url',
}),
);
</script>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/courses/CourseGeneralCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}),
);
Expand Down
1 change: 1 addition & 0 deletions frontend/src/vite-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
/// <reference types="vite/client" />
declare module 'js-cookie';
declare module 'jsdom';

0 comments on commit f5bc347

Please sign in to comment.