diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..5a06ba2 --- /dev/null +++ b/Dockerfile @@ -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"] \ No newline at end of file