full tour

This commit is contained in:
Giancarmine Salucci
2025-11-30 09:06:44 +01:00
parent 0477964009
commit 23583f54c6
18 changed files with 1679 additions and 89 deletions

View File

@@ -1,7 +1,20 @@
FROM node:22-alpine
WORKDIR /app
# Install Playwright system dependencies
RUN apk add --no-cache \
chromium \
font-liberation \
liberation-fonts \
noto \
noto-cjk
COPY package*.json ./
RUN npm ci
COPY . .
EXPOSE 5173
CMD ["npm", "run", "dev", "--", "--host"]
RUN npm run build
EXPOSE 3000
ENV NODE_ENV=production
CMD ["node", "-e", "import('./build/index.js')"]