Files
containers/bitnami/apache/Dockerfile
Sameer Naik 8fbe1b088e removed /app volume from dockerfile
Specifying a volume at `/app` (in the Dockerfile) makes it difficult to
use this image as a base image for derived images. Due to this, we have
removed the `VOLUME` instruction that mounts `/app` as a volume.

The `/app` path continues to function like it did before. As a resuly if
you want to mount your php application into the container, mount your
applucation source at `/app` using `-v
/path/on/application/source:/app`.

One advantage of mounting/installing your application at `/app` is that
the image will automatically update the ownership of the
files/directories in `/app` so that it is accessible by the `php-fpm`
process.
2015-10-05 22:06:30 +05:30

19 lines
514 B
Docker

FROM bitnami/base-ubuntu:14.04-onbuild
MAINTAINER Bitnami <containers@bitnami.com>
ENV BITNAMI_APP_NAME=apache \
BITNAMI_APP_USER=daemon \
BITNAMI_APP_DAEMON=httpd \
BITNAMI_APP_VERSION=2.4.12-4 \
BITNAMI_APP_DIR=$BITNAMI_PREFIX/apache2
ENV BITNAMI_APP_VOL_PREFIX=/bitnami/$BITNAMI_APP_NAME \
PATH=$BITNAMI_APP_DIR/bin:$PATH
RUN sh $BITNAMI_PREFIX/install.sh
COPY rootfs/ /
EXPOSE 80 443
VOLUME ["$BITNAMI_APP_VOL_PREFIX/conf", "$BITNAMI_APP_VOL_PREFIX/logs"]
ENTRYPOINT ["/entrypoint.sh"]