diff --git a/Dockerfile b/Dockerfile index a5f81e7..92805ce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -95,7 +95,7 @@ ENV RAILS_ENV "production" RUN mkdir -p /app/tmp /app/log WORKDIR /app -ADD Gemfile* /app/ +COPY Gemfile* /app/ RUN bundle install --deployment --without development test COPY a2png/project.clj /app/a2png/ @@ -104,7 +104,7 @@ RUN cd a2png && lein deps COPY a2png /app/a2png RUN cd a2png && lein cljsbuild once main && lein cljsbuild once page -ADD . /app +COPY . /app ENV DATABASE_URL "postgresql://postgres:mypass@postgres/asciinema" ENV REDIS_URL "redis://redis:6379"