Update Section_08/main.sh, Section_08/Dockerfile

This commit is contained in:
Kishan Takoordyal
2023-05-21 08:58:29 +00:00
parent 00c29b07c0
commit 72ea6c994f
2 changed files with 47 additions and 0 deletions

16
Section_08/Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM node:16-alpine
RUN apk update
WORKDIR /app
COPY . /app/
RUN npm i -g npm@latest
RUN npm install
RUN npm run build
RUN npm i -g serve
EXPOSE 3000
CMD ["serve", "-s", "/app/build/"]