Added Dockerfile

This commit is contained in:
Fernando Videira committed 2024-01-17 23:21:11 +00:00
1 parent ec9847d008
commit 2eddded3c6
1 file changed
+13
+13
View File
@@ -0,0 +1,13 @@
FROM node:18-alpine
# Path: /app
WORKDIR /my-portofolio/
COPY . .
RUN npm install
RUN npm run build
RUN npm install -g serve
CMD ["serve", "-s", "build"]