Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Kagemaru committed Aug 30, 2022
1 parent 45036e2 commit 7473ed1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/reusable-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
with:
file: Dockerfile
push: true
tags: ${{ env.DECIDIM_IMAGE_REPO }}:latest
tags: ${{ env.DECIDIM_IMAGE_REPO }}:latest
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# See https://help.github.com/articles/ignoring-files for more about ignoring files.

#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
Expand Down Expand Up @@ -55,6 +55,7 @@ vendor/bundle
/yarn-error.log
yarn-debug.log*
.yarn-integrity
>>>>>>> feature/upgrade-0.26.2

/.idea

.bundle/config
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,10 @@ COPY . /app-src
WORKDIR /app-src

# Run deployment
RUN touch "$BUNDLE_APP_CONFIG" \
&& chmod 777 "$BUNDLE_APP_CONFIG" \
&& bundle config set --local deployment 'true' \
#RUN mkdir -p `dirname "${BUNDLE_APP_CONFIG}"` \
# && touch "${BUNDLE_APP_CONFIG}" \
# && chmod 777 "${BUNDLE_APP_CONFIG}" \
RUN bundle config set --local deployment 'true' \
&& bundle config set --local without ${BUNDLE_WITHOUT} \
&& bundle package \
&& bundle install \
Expand Down

0 comments on commit 7473ed1

Please sign in to comment.