Created
August 21, 2020 09:51
-
-
Save bravo325806/77601f1c7beb0cf5693f5289fe637912 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu | |
MAINTAINER cheng <bravo325806@gmail.com> | |
WORKDIR /var/www/html | |
RUN apt-get update | |
RUN apt-get install -y nginx | |
RUN apt-get install -y php7.0 | |
RUN apt-get install -y php7.0-mysql | |
RUN apt-get install -y git | |
RUN echo "\ndaemon off;" >> /etc/nginx/nginx.conf | |
RUN git clone https://github.com/bravo325806/kubernet-nginx-test.git | |
COPY default /etc/nginx/sites-available/ | |
CMD service php7.0-fpm start && service nginx start | |
EXPOSE 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment