Skip to content

Commit

Permalink
update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Petricpwnz committed Nov 4, 2018
1 parent e5c2f9e commit 5ed759e
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions Dockerfile
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

0 comments on commit 5ed759e

Please sign in to comment.