Skip to content

Commit

Permalink
docker build時にpipenvのキャッシュが効くようにした
Browse files Browse the repository at this point in the history
  • Loading branch information
averak committed Jan 28, 2024
1 parent c022dfa commit 1792784
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
FROM python:3.9

WORKDIR /app
COPY . /app/

COPY Pipfile Pipfile.lock /app/
RUN pip install --upgrade pip && pip install pipenv
RUN pipenv install

COPY . /app/
ENTRYPOINT ["pipenv", "run", "start"]
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,3 @@ Bug reports and pull requests are welcome on GitHub at [https://github.com/rits-

- [Swagger UI](https://dajare.abelab.dev/docs)
- [ダジャレステーション](https://dajare.jp/) - used dajare data as teacher in this project.

## Author

- [Averak](https://github.com/averak)
- `abe12<at>mccc.jp`

0 comments on commit 1792784

Please sign in to comment.