Skip to content

Commit

Permalink
Fix external regressions
Browse files Browse the repository at this point in the history
  • Loading branch information
chintal committed Nov 10, 2019
1 parent d153266 commit a676807
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/Dockerfile
@@ -1,4 +1,4 @@
FROM frolvlad/alpine-python3
FROM python:3.7-alpine

WORKDIR /usr/src/app

Expand All @@ -7,8 +7,8 @@ COPY requirements.txt .
RUN \
apk add postgresql-libs && \
apk add --virtual .build-deps gcc musl-dev postgresql-dev python3-dev && \
python3 -m pip install -r requirements.txt --no-cache-dir && \
apk --purge del .build-deps
python3 -m pip install -r requirements.txt --no-cache-dir
# apk --purge del .build-deps

# Copy and Install application
COPY . .
Expand Down
4 changes: 4 additions & 0 deletions docker-compose.yml
Expand Up @@ -8,6 +8,8 @@ services:
- "1079:80"
links:
- app:legalist-test-devops-chintal-app
depends_on:
- app
app:
build: ./app/
container_name: "legalist-test-devops-chintal-app"
Expand All @@ -17,6 +19,8 @@ services:
links:
- redis:legalist-test-devops-chintal-redis
- postgres:legalist-test-devops-chintal-postgres
depends_on:
- postgres
redis:
build: ./redis/
container_name: "legalist-test-devops-chintal-redis"
Expand Down

0 comments on commit a676807

Please sign in to comment.