Skip to content

Commit be5deca

Browse files
committed
removed GOARCH environment variable
1 parent f19d9a9 commit be5deca

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

backend/docker-compose.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ services:
88
- "9000:9000"
99
volumes:
1010
- ./:/api
11-
command: air
11+
# command: air
12+
tty: true

backend/docker/Dockerfile.dev

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.18.2-alpine
1+
FROM golang:1.17-alpine
22

33
# Working directory
44
WORKDIR /api
@@ -8,7 +8,7 @@ COPY . .
88
RUN apk update && apk add --no-cache git
99

1010
# Go envs
11-
ENV GOOS=linux GOARCH=amd64 CGO_ENABLED=0
11+
ENV GOOS=linux CGO_ENABLED=0
1212

1313
RUN go mod download && go mod verify
1414

0 commit comments

Comments
 (0)