Added Dockerfile

This commit is contained in:
Danylo Dotsenko 2024-01-29 17:24:53 -05:00
parent bd2ba173bb
commit 08a05cde4b

17
Dockerfile Normal file
View File

@ -0,0 +1,17 @@
FROM node:20.10.0-slim
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm install -g serve
RUN npm run build
EXPOSE 3000
CMD ["serve", "-s", "dist"]