Skip to content

Commit

Permalink
updated Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
M0Rf30 committed Mar 24, 2019
1 parent 48854e5 commit d59fdd8
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,11 +1,10 @@
FROM python:3

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

COPY . /usr/src/app
RUN pip install --no-cache-dir -r requirements.txt

VOLUME ["/root/.config"]
RUN mkdir -p /usr/bin
COPY GMusicProxy /usr/bin/GMusicProxy
COPY requirements.txt /tmp/
RUN pip install --no-cache-dir -r /tmp/requirements.txt
RUN rm /tmp/requirements.txt
VOLUME ["/root/.local/share/gmusicapi/"]
EXPOSE 9999/tcp
ENTRYPOINT ["GMusicProxy"]

0 comments on commit d59fdd8

Please sign in to comment.