Skip to content

Commit

Permalink
chore: update the Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
saltbo committed Jun 8, 2020
1 parent 6caeeff commit 0c4499d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ FROM golang:1.13
ENV APP_HOME /srv
WORKDIR $APP_HOME

ENV GOPROXY=https://goproxy.cn,direct
COPY go.* $APP_HOME/
RUN go mod download

COPY . .
RUN make build

COPY build/bin/uptoc /usr/local/bin
COPY scripts/entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
2 changes: 1 addition & 1 deletion scripts/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ fi
echo "${ARGS} ${INPUT_DIST}"

# shellcheck disable=SC2086
/srv/build/bin/uptoc ${ARGS} ${INPUT_DIST}
uptoc ${ARGS} ${INPUT_DIST}

0 comments on commit 0c4499d

Please sign in to comment.