Skip to content

Commit

Permalink
Update Dockerfile for twc.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Neved4 committed Jan 23, 2024
1 parent 26f3356 commit 70dbc04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM golang:latest
WORKDIR /app
COPY twc.go /app
ENV CFLAGS=-O2
RUN go build -o twc .
ENV GOFLAGS="-ldflags=-s -w"
RUN go build twc.go
CMD ["./twc"]

0 comments on commit 70dbc04

Please sign in to comment.