mirror of
https://github.com/NotXia/notxia.github.io.git
synced 2025-12-14 19:01:51 +01:00
Add Dockerfile
This commit is contained in:
12
Dockerfile
Normal file
12
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user