Public Access
1
0

working base

This commit is contained in:
2025-08-05 18:04:18 -04:00
parent 7196580871
commit 5ae0732b6a
7 changed files with 125 additions and 0 deletions

10
Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM node:lts-alpine
ENV NODE_ENV=production
WORKDIR /usr/src/app
COPY ["package.json", "package-lock.json*", "npm-shrinkwrap.json*", "./"]
RUN npm install --production --silent && mv node_modules ../
COPY . .
EXPOSE 8080
RUN chown -R node /usr/src/app
USER node
CMD [ "npx", "@11ty/eleventy", "--serve"]