Update build files
This commit is contained in:
parent
e41ce01162
commit
d426b49670
3 changed files with 7 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -14,5 +14,7 @@ export default defineConfig({
|
|||
host: true,
|
||||
strictPort: true
|
||||
},
|
||||
publicDir: 'public' // Explicitly set public directory
|
||||
build: {
|
||||
copyPublicDir: true
|
||||
}
|
||||
})
|
||||
Loading…
Add table
Reference in a new issue