refactor: use env variables and update project structure

This commit is contained in:
AyrisAI
2026-05-14 17:55:32 +03:00
parent 17395698ec
commit 9624a4f45d
6 changed files with 282 additions and 0 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM node:20-alpine
# Install docker cli to be able to run 'docker logs' from within the container
# Note: You must mount /var/run/docker.sock when running this container
RUN apk add --no-cache docker-cli
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
CMD ["npm", "start"]