Mercurial > hg > soundsoftware-site
view deploy/docker/Dockerfile.in @ 1628:9c5f8e24dadc live tip
Quieten this cron script
author | Chris Cannam |
---|---|
date | Tue, 25 Aug 2020 11:38:49 +0100 |
parents | d8949733849d |
children |
line wrap: on
line source
FROM ubuntu:16.04 MAINTAINER Chris Cannam <cannam@all-day-breakfast.com> COPY . /var/www/code WORKDIR /var/www/code INSERT_PROVISIONING_HERE # Start Postgres and foregrounded Apache RUN echo "#!/bin/bash" > container-run.sh RUN echo "/etc/init.d/postgresql start" >> container-run.sh RUN echo "apache2ctl -D FOREGROUND" >> container-run.sh RUN chmod +x container-run.sh EXPOSE 80 CMD ./container-run.sh