diff --git a/Dockerfile b/Dockerfile index 94048bd53d571d48f7800b07a2c363b72189936c..2781d5087ca5e2976d0e4641de1d7c3c9d86c659 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,4 +15,5 @@ RUN npm run build # production stage FROM nginx:stable-alpine as production-stage -COPY --from=build-stage /app/dist /usr/share/nginx/html +COPY --from=build-stage /app/dist/assets /usr/share/nginx/html/quiver-frontend/assets +COPY --from=build-stage /app/dist/index.html /usr/share/nginx/html/index.html diff --git a/vite.config.js b/vite.config.js index bdf2fb126576250d84a34db24c8540afdb5723bc..009ea179f419e2c19b0dea9b5abccc335a788697 100644 --- a/vite.config.js +++ b/vite.config.js @@ -7,7 +7,7 @@ import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite'; // https://vitejs.dev/config/ export default defineConfig({ - base: '/', + base: '/quiver-frontend/', build: { outDir: 'dist', },