Add Dockerfile
This commit is contained in:
parent
7fb87e9030
commit
6140ffe12b
|
@ -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"]
|
Loading…
Reference in New Issue