easy-osm2city-podman/managment/Dockerfile
fly 90c751c836 Added managment container
Signed-off-by: fly <merspieler@airmail.cc>
2021-04-07 11:28:54 +02:00

20 lines
476 B
Docker

FROM docker.io/library/php:7.2-apache
RUN apt-get update -y && apt-get install -y git
RUN docker-php-ext-install -j$(nproc) mysqli
WORKDIR /
RUN git clone https://gitlab.com/merspieler/osm2city-scripts.git && cp /osm2city-scripts/web/index.php /var/www/html/ && rm -rf /osm2city-scripts
WORKDIR /var/www/html/
COPY config.php .
# Set default env vars
ENV SQL_HOST mysql
ENV SQL_PORT 3306
ENV SQL_USER flightgear
ENV SQL_PASSWORD FG-is-GREAT
ENV SQL_DATABASE worldbuild