1
0
Fork 0
mirror of https://ark.sudovanilla.org/Korbs/butterflyvu.git synced 2024-12-22 23:33:54 +00:00

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
No known key found for this signature in database

View file

@ -1,5 +1,5 @@
# Base # Base
FROM oven/bun:alpine AS based FROM node:alpine AS based
# Metadata # Metadata
LABEL org.opencontainers.image.title="ButterflyVu" 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.licenses="MIT NON-AI License"
LABEL org.opencontainers.image.url="https://butterflyvu.docs.sudovanilla.org/" 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.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 # Copy Files
WORKDIR /app WORKDIR /app
@ -16,4 +16,4 @@ COPY . .
# Run # Run
EXPOSE 2014 EXPOSE 2014
CMD bun run build && bun run preview CMD npm run build && npm run preview