chore(build): improve build process, add release please (#2414)

This commit is contained in:
Adam Cooke
2023-04-18 14:19:22 +01:00
committed by GitHub
parent 76f43140ae
commit 5222263484
6 changed files with 117 additions and 180 deletions
+2 -2
View File
@@ -56,8 +56,8 @@ CMD ["postal"]
# ci target - use --target=ci to skip asset compilation
FROM base AS ci
# prod target - default if no --target option is given
FROM base AS prod
# full target - default if no --target option is given
FROM base AS full
RUN POSTAL_SKIP_CONFIG_CHECK=1 RAILS_GROUPS=assets bundle exec rake assets:precompile
RUN touch /opt/postal/app/public/assets/.prebuilt