Create a Dockerfile

This commit is contained in:
Maciej Pędzich 2024-07-22 08:52:50 +02:00
parent 082bde0271
commit 65393d8c2f
Signed by: maciejpedzich
GPG Key ID: CE4A303D84882F0D

7
Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM node:lts-alpine
WORKDIR /app
COPY . .
RUN npm i
RUN npm run build
CMD ["node", "./dist/index.js"]
EXPOSE 3000