This commit is contained in:
valere
2024-08-18 18:47:15 +02:00
commit 24e7bb58fa
25 changed files with 8926 additions and 0 deletions

19
Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
# INSTALL
FROM node:18-alpine as builder
WORKDIR /app
COPY . .
RUN npm ci && npm cache clean --force
ADD . .
# BUILD
RUN npm run build
# PROD
FROM node:18-alpine
WORKDIR /app
COPY --from=builder /app/.output /app/.output
COPY --from=builder /app/.nuxt /app/.nuxt
COPY --from=builder /app/.env /app/.env
ENV HOST 0.0.0.0
EXPOSE 3000
CMD source .env && node .output/server/index.mjs