diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c2d3e33 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM python:3.10.10-slim-bullseye +WORKDIR /picogpt +ADD . /picogpt +RUN apt-get update && apt-get -y install gcc +RUN pip install --upgrade pip +RUN pip install -r requirements.txt +RUN apt-get -y autoremove gcc +ENTRYPOINT ["python", "gpt2.py"]