-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e5c2f9e
commit 5ed759e
Showing
1 changed file
with
6 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
FROM python:3.5 | ||
FROM python:3.6 | ||
|
||
RUN pip install --upgrade pip | ||
RUN pip install --upgrade pip==18.0 pipenv==2018.7.1 | ||
RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
COPY requirements.txt /tmp/requirements.txt | ||
|
||
RUN pip install --upgrade --trusted-host content.dev.faforever.com -r /tmp/requirements.txt | ||
|
||
ADD . /code/ | ||
WORKDIR /code/ | ||
|
||
RUN pipenv run pip install --upgrade pip==18.0 | ||
RUN pipenv install | ||
|
||
VOLUME /config | ||
|
||
# irc3 searches for the plugin files in the folder of the configuration file | ||
CMD cp /config/config.ini ./config.ini && irc3 config.ini | ||
CMD cp /config/config.ini ./config.ini && pipenv run irc3 config.ini |