Skip to content

Commit

Permalink
Copy files into Docker image instead of downloading release from GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
range-of-motion committed Oct 30, 2023
1 parent b89106c commit 90dcf97
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,7 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - && \
apt-get install -y nodejs

ARG BUDGET_VERSION

ADD https://github.com/range-of-motion/budget/archive/refs/tags/v$BUDGET_VERSION.tar.gz /tmp/budget.tar.gz

RUN tar --strip-components=1 -xf /tmp/budget.tar.gz -C /var/www
COPY . /var/www

WORKDIR /var/www

Expand Down

0 comments on commit 90dcf97

Please sign in to comment.