Skip to content

Commit

Permalink
[Prod] mkdir should not fail if the directory already exists
Browse files Browse the repository at this point in the history
  • Loading branch information
laurybueno committed Apr 13, 2018
1 parent e9ba9b9 commit caa785b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compose/production/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ RUN chown django /entrypoint.sh
# Install js dependencies
COPY bower.json .
RUN bower --allow-root install
RUN mkdir /app && mv bower_components /app/
RUN mkdir -p /app && mv bower_components /app/

COPY . /app

RUN mkdir /app/staticfiles
RUN mkdir -p /app/staticfiles

# env.example must be used during build to provide a valid environment
RUN export $(cat /app/env.example | grep -v ^# | xargs) && \
Expand Down

0 comments on commit caa785b

Please sign in to comment.