Add Dockerfile

This commit is contained in:
2024-09-01 14:12:41 +02:00
parent 9d8dc7d5f4
commit dc99b93121
2 changed files with 18 additions and 0 deletions

12
Dockerfile Normal file
View File

@ -0,0 +1,12 @@
FROM alpine:3.20
WORKDIR /app
COPY . .
RUN apk add --update nodejs npm
RUN npm install --global serve
RUN npm install
RUN npm run generate
CMD ["npx", "serve", "-s", "./.output/public"]