This commit is contained in:
@@ -1,10 +1,13 @@
|
|||||||
FROM node:lts AS runtime
|
FROM node:24-alpine AS runtime
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
COPY package*.json ./
|
||||||
|
RUN npm ci
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN npm install
|
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
|
ENV NODE_ENV=production
|
||||||
|
ENV HOST=0.0.0.0
|
||||||
|
ENV PORT=4321
|
||||||
EXPOSE 4321
|
EXPOSE 4321
|
||||||
CMD ["node", "./dist/server/entry.mjs"]
|
CMD ["node", "./dist/server/entry.mjs"]
|
||||||
@@ -5,8 +5,8 @@ import react from '@astrojs/react';
|
|||||||
import node from '@astrojs/node';
|
import node from '@astrojs/node';
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
output: 'static',
|
output: 'server',
|
||||||
adapter: node({ mode: 'middleware' }),
|
adapter: node({ mode: 'standalone' }),
|
||||||
site: 'https://cachetdeco.com',
|
site: 'https://cachetdeco.com',
|
||||||
i18n: {
|
i18n: {
|
||||||
defaultLocale: 'fr',
|
defaultLocale: 'fr',
|
||||||
|
|||||||
@@ -116,9 +116,9 @@ export default function Hero({ content }: { content: HeroContent }) {
|
|||||||
<motion.text
|
<motion.text
|
||||||
x="3"
|
x="3"
|
||||||
y="312"
|
y="312"
|
||||||
font-family="Cocogoose Classic Trial"
|
fontFamily="Cocogoose"
|
||||||
font-size="350"
|
fontSize="350"
|
||||||
font-weight="600"
|
fontWeight="600"
|
||||||
className="fill-brand-600"
|
className="fill-brand-600"
|
||||||
clipPath="url(#cachet-rise-clip)"
|
clipPath="url(#cachet-rise-clip)"
|
||||||
>
|
>
|
||||||
@@ -127,7 +127,7 @@ export default function Hero({ content }: { content: HeroContent }) {
|
|||||||
<motion.path
|
<motion.path
|
||||||
id="Rectangle"
|
id="Rectangle"
|
||||||
fill="#b0b0ac"
|
fill="#b0b0ac"
|
||||||
fill-rule="evenodd"
|
fillRule="evenodd"
|
||||||
stroke="none"
|
stroke="none"
|
||||||
d="M 228 360 L 1161 360 L 1161 334 L 228 334 Z"
|
d="M 228 360 L 1161 360 L 1161 334 L 228 334 Z"
|
||||||
initial={{ scaleX: 0 }}
|
initial={{ scaleX: 0 }}
|
||||||
@@ -146,9 +146,9 @@ export default function Hero({ content }: { content: HeroContent }) {
|
|||||||
<text
|
<text
|
||||||
x="228"
|
x="228"
|
||||||
y="435"
|
y="435"
|
||||||
font-family="Geoform"
|
fontFamily="Geoform"
|
||||||
font-size="72"
|
fontSize="72"
|
||||||
font-weight="700"
|
fontWeight="700"
|
||||||
className="fill-graphite-600"
|
className="fill-graphite-600"
|
||||||
clipPath="url(#decorateurs-drop-clip)"
|
clipPath="url(#decorateurs-drop-clip)"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user