Demoshop Directus+Astro — Hofladen Heidekorn (Katalog, Warenkorb, Magazin, Rechtstexte)

This commit is contained in:
2026-06-16 03:36:53 +00:00
commit 87fda0927e
21 changed files with 6072 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
FROM node:22-alpine AS build
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
ARG DIRECTUS_URL
ENV DIRECTUS_URL=$DIRECTUS_URL
RUN npm run build
FROM nginx:alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80