Browse Source

Dejo Dockerfile

main
Celestino Rey 1 year ago
parent
commit
921fa207c2
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      NginxHelloWorld/Dockerfile

+ 8
- 0
NginxHelloWorld/Dockerfile View File

@ -0,0 +1,8 @@
FROM ubuntu:latest
RUN apt update && \
apt install -y nginx vim
COPY index.html /usr/share/nginx/html
COPY nginx.conf /etc/nginx/nginx.conf
CMD /usr/sbin/nginx -g 'daemon off;'

Loading…
Cancel
Save