Add Dockerfile

This commit is contained in:
Gal 2024-11-21 18:45:11 +01:00
parent 7fb87e9030
commit 6140ffe12b
Signed by: gal
GPG Key ID: F035BC65003BC00B
1 changed files with 12 additions and 0 deletions

12
Dockerfile Normal file
View File

@ -0,0 +1,12 @@
FROM node:20-slim
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
RUN npm install @11ty/eleventy-navigation
COPY . .
CMD ["npx", "@11ty/eleventy", "--serve", "--port", "4000"]