wyattjmiller.com/Dockerfile

14 lines
505 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.
2018-05-18 06:38:59 -05:00
FROM php:7.0-apache
2018-05-21 00:22:22 -05: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
COPY img/ /var/www/html/img
COPY css/ /var/www/html/css
COPY webfonts/ /var/www/html/webfonts
EXPOSE 80