fix some build issues

This commit is contained in:
Georges-Antoine Assi
2024-02-06 23:33:28 -05:00
parent 4a7786998b
commit ec5fe09d90
2 changed files with 4 additions and 8 deletions

View File

@@ -9,11 +9,11 @@ RUN npm run build
FROM nginx:1.24-alpine3.17-slim as production-stage
ARG WEBSERVER_FOLDER=/var/www/html
COPY --from=front-build-stage /front/dist ${WEBSERVER_FOLDER}
COPY ./frontend/assets/default_avatar.png ${WEBSERVER_FOLDER}/assets/
COPY ./frontend/assets/default ${WEBSERVER_FOLDER}/assets/default
COPY ./frontend/assets/platforms ${WEBSERVER_FOLDER}/assets/platforms
COPY ./frontend/assets/webrcade/feed ${WEBSERVER_FOLDER}/assets/webrcade/feed
RUN mkdir -p ${WEBSERVER_FOLDER}/assets/romm && \
ln -s /romm/resources ${WEBSERVER_FOLDER}/assets/romm/resources
ln -s /romm/resources ${WEBSERVER_FOLDER}/assets/romm/resources \
ln -s /romm/assets ${WEBSERVER_FOLDER}/assets/romm/assets
# install generall required packages

View File

@@ -1,15 +1,11 @@
<script setup lang="ts">
import type { EnhancedRomSchema, PlatformSchema } from "@/__generated__";
import FileInfo from "@/components/Details/Info/FileInfo";
import GameInfo from "@/components/Details/Info/GameInfo";
import VersionSwitcher from "@/components/Details/VersionSwitcher.vue";
import FileInfo from "@/components/Details/Info/FileInfo.vue";
import GameInfo from "@/components/Details/Info/GameInfo.vue";
import storeDownload from "@/stores/download";
import { formatBytes } from "@/utils";
import { useDisplay } from "vuetify";
defineProps<{ rom: EnhancedRomSchema; platform: PlatformSchema }>();
const downloadStore = storeDownload();
const { xs } = useDisplay();
</script>
<template>
<file-info :rom="rom" :platform="platform" />