Skip to content

Commit

Permalink
Updated Dockerfile to remove AIR instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
charafzellou committed Jul 9, 2024
1 parent 84b8b6d commit 0f5aa5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Dockerfile.api
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ FROM --platform=linux/amd64 golang:1.20.5

WORKDIR /app/api

RUN go install github.com/cosmtrek/air@latest

COPY app/api/go.mod app/api/go.sum ./

RUN go mod download

COPY ./app/api/ ./
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile.indexer
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ FROM --platform=linux/amd64 golang:1.20.5

WORKDIR /app/indexer

RUN go install github.com/cosmtrek/air@latest

COPY app/indexer/go.mod app/indexer/go.sum ./

RUN go mod download

COPY ./app/indexer/ ./
Expand Down

0 comments on commit 0f5aa5d

Please sign in to comment.