Add NAS status proxy
All checks were successful
Build & Push Docker Image to Gitea Registry / build-and-push (push) Successful in 33s
All checks were successful
Build & Push Docker Image to Gitea Registry / build-and-push (push) Successful in 33s
This commit is contained in:
31
Dockerfile
31
Dockerfile
@@ -1,15 +1,22 @@
|
||||
FROM nginx:alpine
|
||||
FROM node:22-alpine
|
||||
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY index.html /usr/share/nginx/html/
|
||||
COPY admin.html /usr/share/nginx/html/
|
||||
COPY offline.html /usr/share/nginx/html/
|
||||
COPY style.css /usr/share/nginx/html/
|
||||
COPY app.js /usr/share/nginx/html/
|
||||
COPY admin.js /usr/share/nginx/html/
|
||||
COPY services.json /usr/share/nginx/html/
|
||||
COPY manifest.webmanifest /usr/share/nginx/html/
|
||||
COPY sw.js /usr/share/nginx/html/
|
||||
COPY icons/ /usr/share/nginx/html/icons/
|
||||
WORKDIR /app
|
||||
|
||||
COPY server.js /app/server.js
|
||||
COPY index.html /app/public/
|
||||
COPY admin.html /app/public/
|
||||
COPY offline.html /app/public/
|
||||
COPY style.css /app/public/
|
||||
COPY app.js /app/public/
|
||||
COPY admin.js /app/public/
|
||||
COPY services.json /app/public/
|
||||
COPY manifest.webmanifest /app/public/
|
||||
COPY sw.js /app/public/
|
||||
COPY icons/ /app/public/icons/
|
||||
|
||||
ENV NODE_ENV=production
|
||||
ENV PORT=80
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD ["node", "server.js"]
|
||||
|
||||
Reference in New Issue
Block a user