Created
June 10, 2020 07:06
-
-
Save r0mdau/32a8320c5711d0023e5684f103a84e6b to your computer and use it in GitHub Desktop.
Ugly Dockerfile for job interview
This file contains hidden or 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 debian:buster | |
LABEL name="php7" | |
LABEL author="test" | |
RUN apt-get update | |
RUN apt-get install -y apache2 php7.3 | |
COPY . /app | |
COPY ./etc/custom.vhost /etc/apache2/sites-enabled/custom.vhost | |
ENTRYPOINT ["apache2ctl", "-D", "FOREGROUND"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment