Skip to content

Commit

Permalink
Updating docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
dionyself committed Jan 5, 2023
1 parent 93f2f5f commit 2906d61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ LABEL "email"="[email protected]"
RUN apk add --no-cache git gcc g++
RUN mkdir /app
RUN cd /app && git clone https://github.com/dionyself/golang-cms && cd golang-cms \
&& go get -u github.com/beego/bee \
&& go get github.com/beego/bee/v2 \
&& go mod tidy

EXPOSE 8080
Expand Down
1 change: 1 addition & 0 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ cd /app/golang-cms
git pull origin master --tags
export GOLANG_CMS_VERSION=$(git tag --sort=committerdate | tail -1)
git checkout $GOLANG_CMS_VERSION
go get -u github.com/beego/bee/v2
go mod tidy
bee run

0 comments on commit 2906d61

Please sign in to comment.