File tree Expand file tree Collapse file tree 7 files changed +340
-199
lines changed Expand file tree Collapse file tree 7 files changed +340
-199
lines changed Original file line number Diff line number Diff line change 1- FROM python:3.9-alpine
2-
3- WORKDIR /app
4-
5- RUN pip install flask requests
6-
7- COPY . .
8-
9- ENV PORT=8880
10-
11- EXPOSE ${PORT}
12-
13- CMD ["python" , "app.py" ]
1+ FROM golang:1.24
2+
3+ WORKDIR /app
4+
5+ COPY go.mod go.sum ./
6+
7+ RUN go mod download
8+
9+ COPY *.go ./
10+
11+ RUN CGO_ENABLED=0 GOOS=linux go build -o /secured-signal-api
12+
13+ ENV PORT=8880
14+
15+ EXPOSE ${PORT}
16+
17+ CMD ["/secured-signal-api" ]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ module github.com/codeshelldev/secured-signal-api
2+
3+ go 1.24.4
4+
5+ require go.uber.org/zap v1.27.0
6+
7+ require go.uber.org/multierr v1.10.0 // indirect
Original file line number Diff line number Diff line change 1+ go.uber.org/multierr v1.10.0 h1:S0h4aNzvfcFsC3dRF1jLoaov7oRaKqRGC/pUEJ2yvPQ =
2+ go.uber.org/multierr v1.10.0 /go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y =
3+ go.uber.org/zap v1.27.0 h1:aJMhYGrd5QSmlpLMr2MftRKl7t8J8PTZPA732ud/XR8 =
4+ go.uber.org/zap v1.27.0 /go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E =
You can’t perform that action at this time.
0 commit comments