Bun has issues with SCSS, modules, and more when running in Docker. Falling back to NodeJS, on Alpine.

This commit is contained in:
Korbs 2024-12-21 20:37:32 -05:00
parent 92fd796bb0
commit b1d980d96b
Signed by: Korbs
SSH key fingerprint: SHA256:Q0b0KraMldpAO9oKa+w+gcsXsOTykQ4UkAKn0ByGn5U

View file

@ -1,5 +1,5 @@
# Base
FROM oven/bun:alpine AS based
FROM node:alpine AS based
# Metadata
LABEL org.opencontainers.image.title="ButterflyVu"
@ -8,7 +8,7 @@ LABEL org.opencontainers.image.description="Documentations built on Astro"
LABEL org.opencontainers.image.licenses="MIT NON-AI License"
LABEL org.opencontainers.image.url="https://butterflyvu.docs.sudovanilla.org/"
LABEL org.opencontainers.image.source="https://ark.sudovanilla.org/Korbs/ButterflyVu/"
LABEL org.opencontainers.image.version="0.1.6"
LABEL org.opencontainers.image.version="0.1.7"
# Copy Files
WORKDIR /app
@ -16,4 +16,4 @@ COPY . .
# Run
EXPOSE 2014
CMD bun run build && bun run preview
CMD npm run build && npm run preview