Navigation Menu

Skip to content

Commit

Permalink
Merge branch '1.11'
Browse files Browse the repository at this point in the history
  • Loading branch information
andrerom committed Aug 27, 2017
2 parents 23b13db + 475cf73 commit 300385e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Dockerfile
Expand Up @@ -24,6 +24,3 @@ RUN mkdir -p web/var \
# Remove composer cache to avoid it taking space in image
&& rm -rf ~/.composer/*/* \
&& [ "$REMOVE_AUTH" = "1" ] && rm -f auth.json

# Declare volumes so it an can be shared with other containers
VOLUME /var/www /var/www/web/var
3 changes: 3 additions & 0 deletions doc/docker/Dockerfile-nginx
Expand Up @@ -6,7 +6,10 @@ ENV SYMFONY_ENV=prod
COPY . /var/www

# Create asset directories that might not exists
RUN if [ ! -d /var/www/web/bundles ]; then mkdir /var/www/web/bundles; fi
RUN if [ ! -d /var/www/web/css ]; then mkdir /var/www/web/css; fi
RUN if [ ! -d /var/www/web/fonts ]; then mkdir /var/www/web/fonts; fi
RUN if [ ! -d /var/www/web/js ]; then mkdir /var/www/web/js; fi
RUN if [ ! -d /var/www/web/assets ]; then mkdir /var/www/web/assets; fi

# Generate assets using hard copy as we need to copy them over to resulting image
Expand Down

0 comments on commit 300385e

Please sign in to comment.