Skip to content

Commit

Permalink
Further fixed permission issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Dids committed Feb 4, 2020
1 parent ad95963 commit 7b01750
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RUN curl -sL https://github.com/Facepunch/webrcon/archive/24b0898d86706723d52bb4
ADD fix_conn.sh /tmp/fix_conn.sh

# Create the volume directories
RUN mkdir -p /steamcmd/rust
RUN mkdir -p /steamcmd/rust /usr/share/nginx/html /var/log/nginx

# Setup proper shutdown support
ADD shutdown_app/ /app/shutdown_app/
Expand Down Expand Up @@ -70,7 +70,9 @@ WORKDIR /
# Fix permissions
RUN chown -R 1000:1000 \
/steamcmd \
/app
/app \
/usr/share/nginx/html \
/var/log/nginx

# Run as a non-root user by default
ENV PGID 1000
Expand Down

0 comments on commit 7b01750

Please sign in to comment.