mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 10:32:57 +01:00
fix some build issues
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user