added dockerfile

This commit is contained in:
adrian
2025-08-18 21:55:53 +02:00
parent 46de00979c
commit bc4463bd37

13
dockerfile Normal file
View File

@ -0,0 +1,13 @@
FROM node:latest
WORKDIR /app
COPY ./index.html .
COPY ./main.js .
COPY ./backend.js .
COPY ./package.json ./package-lock.json .
RUN npm ci --only=production
EXPOSE 3000
CMD ["npm" "backend.js"]