Skip to content

Commit

Permalink
fix install
Browse files Browse the repository at this point in the history
  • Loading branch information
MathChevalier committed Jan 23, 2025
1 parent 17fed3e commit b5926c8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ RUN echo 'APT::Install-Recommends "0" ; APT::Install-Suggests "0" ;' > /etc/apt/
apt-get --yes autoremove --purge && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Install Composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ DOCKER_RUN = $(DOCKER_COMPOSE) run --rm php

install:
$(DOCKER_COMPOSE) build --no-cache

up:
$(DOCKER_COMPOSE) up --remove-orphans -d --build
${MAKE} vendor -B

vendor:
${DOCKER_RUN} composer install --no-interaction
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ To install the app:

```bash
$ make install
$ make up
$ make vendor
```

Expand Down

0 comments on commit b5926c8

Please sign in to comment.