add docker support

This commit is contained in:
leander committed 2024-10-15 16:54:58 +02:00
1 parent 26993e3520
commit 834b094e92
2 files changed
+21

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
FROM node:18-alpine
WORKDIR /app
COPY package.json ./
COPY package-lock.json ./
RUN npm install
COPY . .
RUN npm run build
EXPOSE 7000
CMD ["npm", "run", "start", "--port", "7000"]