Skip to content

Commit

Permalink
Install from built wheel, and copy migrations manually.
Browse files Browse the repository at this point in the history
  • Loading branch information
danpalmer committed Feb 11, 2018
1 parent 52386c7 commit 566e702
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ build/*
.mypy_cache/
.python-version
config.dev.yaml
dist
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ ENV PYTHONUNBUFFERED 1

WORKDIR /routemaster/app

COPY . .
RUN pip install --no-cache-dir .
COPY routemaster/migrations/ routemaster/migrations/

COPY dist/ .
RUN pip install --no-cache-dir *.whl

COPY scripts/build/default_config.yaml config.yaml
COPY alembic.ini alembic.ini
Expand Down

0 comments on commit 566e702

Please sign in to comment.