Puck visual-editor spike: HD-Blöcke (Hero/Text/FeatureGrid/ProductGrid/CTA), OKLCH-Branding, Edit↔Vorschau
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
# build
|
||||
FROM node:22-slim AS build
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm ci --no-audit --no-fund
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
# serve
|
||||
FROM nginx:alpine
|
||||
COPY --from=build /app/dist /usr/share/nginx/html
|
||||
RUN printf 'server{listen 80;root /usr/share/nginx/html;location / {try_files $uri $uri/ /index.html;}}' > /etc/nginx/conf.d/default.conf
|
||||
EXPOSE 80
|
||||
HEALTHCHECK CMD wget -qO- http://localhost/ || exit 1
|
||||
Reference in New Issue
Block a user