Part 1 ex. 16
This commit is contained in:
parent
ad09df6e2b
commit
1a5357e1df
2 changed files with 12 additions and 0 deletions
8
Part1/Dockerfile
Normal file
8
Part1/Dockerfile
Normal file
|
@ -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"]
|
4
Part1/Exercise_16/submission.txt
Normal file
4
Part1/Exercise_16/submission.txt
Normal file
|
@ -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/)
|
Reference in a new issue