Skip to content

Commit

Permalink
fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dbut2 committed Feb 15, 2023
1 parent 8d84ae1 commit 614c906
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion deployment/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ WORKDIR /app
ARG ENV=local
COPY ./configs/${ENV}.yaml ./config.yaml

CMD ["./lengthener"]
CMD ["./shortener"]
2 changes: 0 additions & 2 deletions shortener/pkg/configs/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ func findBytes() ([]byte, error) {
file = configFile
}

log.Printf("config: %s", file)

if _, err := os.Stat(file); err != nil {
return nil, errors.New("config file not found")
}
Expand Down

0 comments on commit 614c906

Please sign in to comment.