Made the website into a docker container
This commit is contained in:
parent
6f8fbaf32a
commit
3eaef2ab70
8 changed files with 35 additions and 0 deletions
10
Dockerfile
Normal file
10
Dockerfile
Normal file
|
@ -0,0 +1,10 @@
|
|||
FROM ubuntu:latest
|
||||
|
||||
RUN apt update && apt install nginx python3 -y
|
||||
|
||||
RUN rm -rf /etc/nginx/sites-enabled/default
|
||||
|
||||
ADD nginx/ /etc/nginx/
|
||||
ADD www/ /var/html/www/
|
||||
|
||||
ENTRYPOINT ["nginx"]
|
Loading…
Add table
Add a link
Reference in a new issue