Added Dockerfile and README

feature/#23
yuobrezkov 2025-01-30 18:17:55 +03:00
parent ffc9f82e5a
commit 402f38b12e
2 changed files with 11 additions and 0 deletions

9
Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM node:22.13.0
WORKDIR /var/www/trust-module
COPY . .
RUN npm install
ENTRYPOINT ["npm", "start"]

2
README.md Normal file
View File

@ -0,0 +1,2 @@
build: docker build -t <image_name> .
start: docker run -v $(pwd):/var/www/trust-module -p 3000:3000 <image_name>:latest