Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: ${{ github.ref_name == 'main' }}
cache-from: type=gha
cache-to: type=gha,mode=max
tags: |
${{ steps.get-tag-latest.outputs.tags }}
${{ steps.get-tag-sha.outputs.tags }}
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ EXPOSE 8080

SHELL ["/bin/bash", "-c"]

WORKDIR /app
ADD Gemfile Gemfile.lock /app/
RUN gem install bundler:$BUNDLER_VERSION && bundle install

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
supervisor locales nodejs vim nano \
Expand All @@ -39,6 +35,10 @@ RUN curl -fsSLO "$SUPERCRONIC_URL" \
&& mv "$SUPERCRONIC" "/usr/local/bin/${SUPERCRONIC}" \
&& ln -s "/usr/local/bin/${SUPERCRONIC}" /usr/local/bin/supercronic

WORKDIR /app
ADD Gemfile Gemfile.lock /app/
RUN gem install bundler:$BUNDLER_VERSION && bundle install

ADD docker/supervisord.conf /etc/supervisord.conf
ADD docker/start.sh /app/
ADD . /app
Expand Down
Loading