Update build files

This commit is contained in:
TheMaddax 2024-12-09 17:12:44 -06:00
parent e41ce01162
commit d426b49670
3 changed files with 7 additions and 6 deletions

View file

@ -22,6 +22,7 @@ RUN pnpm build
FROM base AS runner
COPY --from=deps /app/node_modules ./node_modules
COPY --from=builder /app/dist ./dist
COPY --from=builder /app/public ./public
COPY package.json ./
EXPOSE 804

View file

@ -1,3 +1,5 @@
version: '3.8'
services:
web:
build:
@ -17,10 +19,6 @@ services:
- PORT=804
restart: unless-stopped
volumes:
video_content:
external: true
networks:
caddy_network:
external: true

View file

@ -14,5 +14,7 @@ export default defineConfig({
host: true,
strictPort: true
},
publicDir: 'public' // Explicitly set public directory
})
build: {
copyPublicDir: true
}
})