Skip to content

Commit

Permalink
Docker file go modules
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardKnop committed Oct 7, 2018
1 parent c227f69 commit 877df21
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ WORKDIR /go/src/github.com/RichardKnop/go-oauth2-server
# Copy the local package files to the container's workspace.
ADD . /go/src/github.com/RichardKnop/go-oauth2-server

# Set GO111MODULE=on variable to activate module support
ENV GO111MODULE on

# Chown the application directory to app user
RUN chown -R app:app /go/src/github.com/RichardKnop/go-oauth2-server/

Expand Down

0 comments on commit 877df21

Please sign in to comment.