Skip to content

Commit

Permalink
Merge pull request #1 from HU-TADMUS/feat/add_working_dockerfile
Browse files Browse the repository at this point in the history
feat: add a dockerfile for local testing and development
  • Loading branch information
alleeclark committed Dec 20, 2023
2 parents d950d6e + 45580fa commit 0beafbb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM python:3.6

RUN pip install --upgrade pip

RUN mkdir -p /home/python/question_generator

WORKDIR /home/python/question_generator

COPY . .

RUN pip install -r requirements.txt

CMD ["/bin/sh"]
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
datasets==1.16.1
en_core_web_sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.3.1/en_core_web_sm-2.3.1.tar.gz
numpy==1.22.0
numpy==1.19.5
sentencepiece==0.1.96
spacy==2.3.1
tokenizers==0.10.3
Expand Down

0 comments on commit 0beafbb

Please sign in to comment.