diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..3899084a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +FROM pythondiscord/site-base:latest + +ENV PIPENV_VENV_IN_PROJECT=1 +ENV PIPENV_IGNORE_VIRTUALENVS=1 +ENV PIPENV_NOSPIN=1 +ENV PIPENV_HIDE_EMOJIS=1 + +RUN pip install pipenv + +COPY . /site +WORKDIR /site +ENV PYTHONPATH=/site + +RUN pipenv clean +RUN pipenv sync + +EXPOSE 10012 + +ENTRYPOINT ["/sbin/tini", "--"] +CMD ["pipenv", "run", "start"] |