diff options
Diffstat (limited to 'docker/bot.Dockerfile')
| -rw-r--r-- | docker/bot.Dockerfile | 14 | 
1 files changed, 14 insertions, 0 deletions
diff --git a/docker/bot.Dockerfile b/docker/bot.Dockerfile new file mode 100644 index 000000000..4713e1f0e --- /dev/null +++ b/docker/bot.Dockerfile @@ -0,0 +1,14 @@ +FROM pythondiscord/bot-base:latest + +ENV PIPENV_VENV_IN_PROJECT=1 +ENV PIPENV_IGNORE_VIRTUALENVS=1 +ENV PIPENV_NOSPIN=1 +ENV PIPENV_HIDE_EMOJIS=1 + +COPY . /bot +WORKDIR /bot + +RUN pipenv install --deploy --system + +ENTRYPOINT ["/sbin/tini", "--"] +CMD ["python", "-m", "bot"]  |