Skip to content

Commit

Permalink
Merge pull request #55 from quangdangfit/standard
Browse files Browse the repository at this point in the history
update docker
  • Loading branch information
quangdangfit authored Sep 8, 2023
2 parents 9edf391 + 5c2d9b1 commit a9e72fb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.git/
.vscode/
.idea/
.gitignore
Makefile
README.md
codecov.yaml
sonar-project.properties
*.out
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ COPY . .
RUN go mod download

COPY ./pkg/config/config.sample.yaml ./pkg/config/config.yaml
RUN go build -o /app/goshop
RUN go build -o /app/goshop ./cmd/api

EXPOSE 8888
ENTRYPOINT ["/app/goshop"]
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: "3.8"
services:
goshop:
build: .
image: "github.com/quangdangfit/goshop"
build: .
ports:
- "8888:8888"
environment:
Expand Down

0 comments on commit a9e72fb

Please sign in to comment.