Skip to content

Commit

Permalink
try 2
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeMaster482 committed Nov 29, 2023
1 parent ea536fc commit 66946f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions build/auth.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ FROM golang:1.21.0-alpine AS builder
COPY . /github.com/go-park-mail-ru/2023_2_Hamster/
WORKDIR /github.com/go-park-mail-ru/2023_2_Hamster/

RUN ls -la

RUN go mod download && go mod tidy
RUN go clean --modcache
RUN CGO_ENABLED=0 GOOS=linux go build -mod=readonly -o auth ./cmd/auth/main.go
Expand Down
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ services:
- hamster-net

hammywallet-api:
container_name: ${CONTAINER_NAME}
image: ${REGISTRY}/${IMAGE_NAME}:${GITHUB_SHA_SHORT}
# container_name: hammywallet-api
# image: codemaster482/hammywallet:latest
#container_name: ${CONTAINER_NAME}
#image: ${REGISTRY}/${IMAGE_NAME}:${GITHUB_SHA_SHORT}
container_name: hammywallet-api
image: codemaster482/hammywallet:latest
env_file:
- .env
restart: always
Expand Down

0 comments on commit 66946f1

Please sign in to comment.