fix: Add product images to public folder
- Copied images from spec_images/ and table_images/ - Now in public/images/2021/03/ (matching old paths) - Images will be served correctly on Easypanel
This commit is contained in:
@@ -25,9 +25,9 @@ RUN apk add --no-cache sqlite-libs
|
||||
COPY package*.json ./
|
||||
RUN npm install --production
|
||||
|
||||
# Copy ALL built assets
|
||||
COPY --from=builder /app/dist ./dist
|
||||
COPY --from=builder /app/public ./public
|
||||
COPY --from=builder /app/astro.config.mjs ./
|
||||
COPY --from=builder /app/data ./data
|
||||
|
||||
EXPOSE 80
|
||||
@@ -41,5 +41,5 @@ ENV ASTRO_DB_REMOTE_URL=file:/app/data/consent.db
|
||||
ENV HOST=0.0.0.0
|
||||
ENV PORT=80
|
||||
|
||||
# Serve static files with proper MIME types
|
||||
# Serve static files on port 80
|
||||
CMD ["npx", "serve", "dist", "-l", "80", "--no-clipboard", "--cors"]
|
||||
|
||||
Reference in New Issue
Block a user