Skip to content

Commit

Permalink
download cltk models/data in docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
csae8092 committed Oct 17, 2021
1 parent de325eb commit 828aee9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ RUN pip install -r requirements.txt --no-cache-dir
COPY . /opt/app/djangobaseproject/

RUN chown -R www-data:www-data /opt/app
RUN python /opt/app/djangobaseproject/dl_cltk_models.py

# start server
EXPOSE 80
Expand Down

0 comments on commit 828aee9

Please sign in to comment.