wyattjmiller.com/Dockerfile

17 lines
468 B
Docker
Raw Normal View History

2018-05-18 06:38:59 -05:00
# wyattjmiller.com Dockerfile
2018-12-28 21:42:40 -06:00
# Created by Wyatt J. Miller, published by Miller Web Solutions
2018-05-18 06:38:59 -05:00
# Licensed by the MIT
#
# Copying files in the dockerfile is kind of a mess. Actually not really.
# Just remember when linking files in code, follow the method below.
2019-02-13 13:03:51 -06:00
2019-10-05 21:25:05 -05:00
FROM php:7.3.10-apache
2019-12-08 15:16:54 -06:00
RUN a2enmod rewrite
RUN service apache2 restart
2019-02-13 13:03:51 -06:00
# RUN /bin/bash -c "cd /var/www/html && mkdir assets && mkdir css && mkdir img && mkdir webfonts"
2018-05-18 06:38:59 -05:00
COPY src/ /var/www/html
2019-12-08 15:16:54 -06:00
2018-05-18 06:38:59 -05:00
EXPOSE 80