Skip to content

Adding a docker file to run the project #1

@wgwz

Description

@wgwz

In case you're interested in adding this:

$ cat Dockerfile 
FROM php:7.2-apache
COPY markdown-blog/ /var/www/html/
RUN a2enmod rewrite
RUN echo "RewriteEngine On" >> /etc/apache2/apache2.conf

Then:

docker build -t my-php-app .
docker run -it -p 80:80 my-php-app

PHP docker docs: https://hub.docker.com/_/php

Been shopping around for blog stuff and came on to your project. I like it! Hope you find this helpful. Could be a good way to advertise it for users who are interested in trying it out but not too familiar with PHP.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions