diff --git a/.travis.yml b/.travis.yml index 174c754..e2a6b33 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: go go: -- 1.18.1 +- 1.21.5 script: - go test -v ./... -coverprofile=coverage.txt -covermode=atomic diff --git a/Dockerfile b/Dockerfile index dd4ebd2..4aeea4b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Load golang image to build -FROM golang:1.19-alpine as builder +FROM golang:1.21-alpine as builder ARG APP_PATH RUN mkdir -p /app @@ -17,7 +17,5 @@ WORKDIR /app COPY --chown=0:0 --from=builder /app/ ./ EXPOSE 8080 -# Resevre port -EXPOSE 8090 ENTRYPOINT ["/app/appbin"] \ No newline at end of file diff --git a/Makefile b/Makefile index 8678d5c..de9eb83 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ migration-down: migrate -path migrations/sql -verbose -database "${DATABASE_URL}" down run-db: - docker compose up postgres redis + docker compose up postgres run-api: go run ./cmd/api/ diff --git a/README.md b/README.md index fcfd790..d2b0610 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,6 @@ Any feedback and pull requests are welcome and highly appreciated. Feel free to - [Open Source Refs](#open-source-refs) - [Contributing](#contributing) - [TODOs](#todos) - ## HOW TO USE THIS TEMPLATE @@ -39,7 +38,6 @@ Any feedback and pull requests are welcome and highly appreciated. Feel free to > **NOTE**: **WAIT** until first CI run on github actions before cloning your new project. -