deeme commited on
Commit
bbb46b7
·
verified ·
1 Parent(s): 02200fc

Upload 2 files

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -4,7 +4,7 @@ FROM golang:1.23-alpine AS builder
4
  WORKDIR /app
5
  RUN apk add git make && git clone https://github.com/bincooo/chatgpt-adapter.git .
6
  RUN make install
7
- RUN make
8
 
9
  FROM alpine:latest
10
 
 
4
  WORKDIR /app
5
  RUN apk add git make && git clone https://github.com/bincooo/chatgpt-adapter.git .
6
  RUN make install
7
+ RUN CGO_ENABLED=0 GOARCH=arm64 GOOS=linux go build -toolexec iocgo -ldflags="-s -w" -o bin/linux/server -trimpath main.go
8
 
9
  FROM alpine:latest
10