in reply to Re^3: Google App Engine and CGI
in thread Google App Engine and CGI
my current work directory is C:\Users\41786\Documents> and I type docker build -t recordz . but I got Step 11/13 : COPY httpd.conf /etc/apache2/sites-available/ COPY failed: stat /var/lib/docker/tmp/docker-builder215152285/httpd.conf: no such file or directoryFROM ubuntu:16.04 ## Install Base Packages RUN apt-get update && apt-get -y install \ apache2 \ make \ curl \ git \ gcc RUN a2enmod rewrite ## Install Perl RUN apt-get update && apt-get -y install \ libapache2-mod-perl2 \ perl RUN a2enmod perl ## Install PHP RUN apt-get update && apt-get -y install \ php7.0 php7.0-cli php7.0-common php7.0-fpm php7.0-json \ php7.0-mbstring php7.0-mcrypt php7.0-mysql php7.0-opcache php7.0-r +eadline \ libapache2-mod-php7.0 RUN a2enmod rewrite EXPOSE 80 RUN mkdir -p /var/www/recordz COPY recordz1 /var/www COPY httpd.conf /etc/apache2/sites-available/ RUN a2ensite recordz CMD /usr/sbin/apache2ctl -D FOREGROUND
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Google App Engine and CGI
by Corion (Patriarch) on Aug 04, 2019 at 15:55 UTC |