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:
Kunthawat
2026-03-11 15:12:29 +07:00
parent 66d6e7ac7b
commit 16071f80fe
8 changed files with 2 additions and 2 deletions

View File

@@ -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"]

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB