Skip to content

Commit

Permalink
wrong position of VOLUME instruction caused permissions issue
Browse files Browse the repository at this point in the history
  • Loading branch information
gotzl committed Mar 10, 2019
1 parent a7d6eed commit 371fd49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ RUN dpkg --add-architecture i386 && \
RUN mkdir -p /accservermanager /data

WORKDIR /accservermanager
VOLUME /data

RUN useradd -ms /bin/bash someuser && \
chown -R someuser:someuser /accservermanager /data

USER someuser
VOLUME /data

ADD requirements.txt .
RUN pip3 install --user --no-cache-dir -r requirements.txt
Expand Down

0 comments on commit 371fd49

Please sign in to comment.