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
|
FROM base AS runner
|
||||||
COPY --from=deps /app/node_modules ./node_modules
|
COPY --from=deps /app/node_modules ./node_modules
|
||||||
COPY --from=builder /app/dist ./dist
|
COPY --from=builder /app/dist ./dist
|
||||||
|
COPY --from=builder /app/public ./public
|
||||||
COPY package.json ./
|
COPY package.json ./
|
||||||
|
|
||||||
EXPOSE 804
|
EXPOSE 804
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
version: '3.8'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
build:
|
build:
|
||||||
|
|
@ -17,10 +19,6 @@ services:
|
||||||
- PORT=804
|
- PORT=804
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
volumes:
|
|
||||||
video_content:
|
|
||||||
external: true
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
caddy_network:
|
caddy_network:
|
||||||
external: true
|
external: true
|
||||||
|
|
|
||||||
|
|
@ -14,5 +14,7 @@ export default defineConfig({
|
||||||
host: true,
|
host: true,
|
||||||
strictPort: true
|
strictPort: true
|
||||||
},
|
},
|
||||||
publicDir: 'public' // Explicitly set public directory
|
build: {
|
||||||
|
copyPublicDir: true
|
||||||
|
}
|
||||||
})
|
})
|
||||||
Loading…
Add table
Reference in a new issue