build: added Docker support

This commit is contained in:
Riccardo
2023-12-19 19:22:02 +01:00
parent 146ea54d71
commit c0d6b73aca
2 changed files with 23 additions and 0 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM node:20
WORKDIR /app
COPY package*.json ./
RUN yarn
COPY . .
RUN yarn build
EXPOSE 3000
CMD [ "yarn", "start" ]