Sha256: 867a806314c1e67ddd36870e83b7307317b9148fcf9f587f892c9f494fd9abf5

Contents?: true

Size: 474 Bytes

Versions: 12

Compression:

Stored size: 474 Bytes

Contents

FROM nginx

RUN apt-get update -qq && apt-get -y install apache2-utils

ENV RAILS_ROOT /usr/src/app

WORKDIR $RAILS_ROOT

RUN mkdir log

# Copy Nginx config template
COPY docker/containers/web/app.conf /tmp/<%= config[:app_name] %>.nginx

# substitute variable references in the Nginx config template for real values from the environment

# put the final config in its place

RUN envsubst '$RAILS_ROOT' < /tmp/<%= config[:app_name] %>.nginx > /etc/nginx/conf.d/default.conf

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
roro-0.3.2 lib/roro/cli/templates/docker/containers/web/Dockerfile.tt
roro-0.3.1 lib/roro/cli/templates/docker/containers/web/Dockerfile.tt
roro-0.3.0 lib/roro/cli/templates/docker/containers/web/Dockerfile.tt
roro-0.2.5 lib/roro/cli/templates/docker/containers/web/Dockerfile.tt
roro-0.2.4 lib/roro/cli/templates/docker/containers/web/Dockerfile.tt
roro-0.2.2 lib/roro/cli/templates/docker/containers/web/Dockerfile.tt
roro-0.2.1 lib/roro/cli/templates/docker/containers/web/Dockerfile.tt
roro-0.1.8 lib/roro/cli/templates/docker/containers/web/Dockerfile.tt
roro-0.1.6 lib/roro/cli/templates/docker/containers/web/Dockerfile.tt
roro-0.1.5 lib/roro/cli/templates/docker/containers/web/Dockerfile.tt
roro-0.1.3 lib/roro/cli/templates/docker/containers/web/Dockerfile.tt
roro-0.1.1 lib/roro/cli/templates/docker/containers/web/Dockerfile.tt