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
@@ -25,9 +25,9 @@ RUN apk add --no-cache sqlite-libs
|
|||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
RUN npm install --production
|
RUN npm install --production
|
||||||
|
|
||||||
|
# Copy ALL built assets
|
||||||
COPY --from=builder /app/dist ./dist
|
COPY --from=builder /app/dist ./dist
|
||||||
COPY --from=builder /app/public ./public
|
COPY --from=builder /app/public ./public
|
||||||
COPY --from=builder /app/astro.config.mjs ./
|
|
||||||
COPY --from=builder /app/data ./data
|
COPY --from=builder /app/data ./data
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
@@ -41,5 +41,5 @@ ENV ASTRO_DB_REMOTE_URL=file:/app/data/consent.db
|
|||||||
ENV HOST=0.0.0.0
|
ENV HOST=0.0.0.0
|
||||||
ENV PORT=80
|
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"]
|
CMD ["npx", "serve", "dist", "-l", "80", "--no-clipboard", "--cors"]
|
||||||
|
|||||||
BIN
public/images/2021/03/hdpe001.jpg
Normal file
|
After Width: | Height: | Size: 92 KiB |
BIN
public/images/2021/03/hdpe002.jpg
Normal file
|
After Width: | Height: | Size: 87 KiB |
BIN
public/images/2021/03/hdpe2.jpg
Normal file
|
After Width: | Height: | Size: 8.6 KiB |
BIN
public/images/2021/03/hdpe4.jpg
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
public/images/2021/03/hdpe_pipe_main.jpg
Normal file
|
After Width: | Height: | Size: 73 KiB |
BIN
public/images/2021/03/hdpe_product.jpg
Normal file
|
After Width: | Height: | Size: 8.3 KiB |
BIN
public/images/2021/03/hdpe_welding2.jpg
Normal file
|
After Width: | Height: | Size: 10 KiB |