Skip to content

Commit

Permalink
build-base now required for building container
Browse files Browse the repository at this point in the history
  • Loading branch information
dgmorales committed Jan 31, 2024
1 parent 6feadd9 commit 6a4a71e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ ENV NEW_RELIC_CONFIG_FILE=newrelic.ini
# That way when we change the app's code, the image build is faster, because the
# layer that installed the requirements is not rebuilt.

RUN apk add build-base libffi-dev
COPY requirements.txt /app/
WORKDIR /app
RUN pip install -r requirements.txt
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
build: requirements.txt
docker compose build
docker-compose build

build-api: requirements.txt
docker build -t python-person-api:latest .
Expand All @@ -24,7 +24,7 @@ checks:
full-check: check run-tests

up:
docker compose up
docker-compose up

down:
docker compose down
docker-compose down

0 comments on commit 6a4a71e

Please sign in to comment.