diff --git a/Part1/Dockerfile b/Part1/Dockerfile new file mode 100644 index 0000000..d93ecab --- /dev/null +++ b/Part1/Dockerfile @@ -0,0 +1,8 @@ +FROM node:16.19 +EXPOSE 8080 +WORKDIR /usr/src/app +COPY package*.json ./ +COPY . . +RUN npm install && npm run build +RUN npm install -g serve +CMD ["serve", "-s", "-l", "8080", "build"] diff --git a/Part1/Exercise_16/submission.txt b/Part1/Exercise_16/submission.txt new file mode 100644 index 0000000..cb13d23 --- /dev/null +++ b/Part1/Exercise_16/submission.txt @@ -0,0 +1,4 @@ +I copied the example-frontend and deployed it to fly.io. I had to remove Dockerfile from .gitignore, and change the port to 8080, but otherwise everything was fine as-is. + +Note! Frontend only! +[Link to app](https://crimson-water-4690.fly.dev/)