Skip to content

Commit 52b5b2b

Browse files
KongGalkyb3r
authored andcommitted
Updated Dockerfile to allow for automated building (#335)
1 parent b4b9ec5 commit 52b5b2b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
FROM kennethreitz/pipenv
1+
FROM library/python:latest
2+
RUN apt update && apt install -y pipenv
3+
RUN mkdir -p /bot && cd /bot && git clone https://github.com/kyb3r/modmail .
4+
WORKDIR /bot
5+
RUN pipenv install
26

3-
COPY . /app
4-
5-
CMD python3 bot.py
7+
CMD ["pipenv", "run", "python3", "bot.py"]

0 commit comments

Comments
 (0)