Skip to content

Commit

Permalink
fix: duplicate migration files in Dockerfile (#68)
Browse files Browse the repository at this point in the history
Avoid duplicated migration file, by removing the migration files present in the base docker image.
  • Loading branch information
froger authored Mar 6, 2024
1 parent d4df806 commit 144fdbe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ RUN apt-get update -yq \
&& bundle config set with "production" \
&& bundle config set no_cache "true" \
&& bundle config set deployment "false" \
&& rm -rf vendor Gemfile.lock
&& rm -rf vendor Gemfile.lock \
&& rm -rf db/migrate/*

COPY ./contrib/01_mautic_entrypoint /usr/local/share/docker-entrypoint.d/01_mautic_entrypoint
COPY --chown=decidim:decidim ./contrib/nginx/nginx.conf /etc/nginx/nginx.conf
Expand Down

0 comments on commit 144fdbe

Please sign in to comment.