Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
harbourmaster/target/Dockerfile
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
17 lines (15 sloc)
556 Bytes
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:bionic | |
ARG DEBIAN_FRONTEND=noninteractive | |
RUN apt-get update | |
RUN apt-get -y install python3-pip | |
RUN apt-get -y install apache2 | |
RUN apt-get -y install libapache2-mod-php | |
RUN apt-get -y install net-tools | |
RUN apt-get -y install python3 | |
COPY app /root/app/ | |
COPY web /var/www/html/ | |
RUN sed -i -e 's/AllowOverride None/AllowOverride All/g' /etc/apache2/apache2.conf | |
RUN sed -i -e 's/Require all denied/Require all granted/g' /etc/apache2/apache2.conf | |
RUN chmod u+x /root/app/starter.sh | |
RUN chmod u+x /root/app/wydah.py | |
CMD ["/root/app/starter.sh"] |