diff --git a/Dockerfile b/Dockerfile index f4d2781..cf54d21 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/Makefile b/Makefile index 2f092d5..394eee3 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ build: requirements.txt - docker compose build + docker-compose build build-api: requirements.txt docker build -t python-person-api:latest . @@ -24,7 +24,7 @@ checks: full-check: check run-tests up: - docker compose up + docker-compose up down: - docker compose down \ No newline at end of file + docker-compose down \ No newline at end of file