Added directory structure for routing
This commit is contained in:
@ -10,7 +10,7 @@ COPY . .
|
||||
RUN go mod download
|
||||
|
||||
# Builds the application as a staticly linked one, to allow it to run on alpine
|
||||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -installsuffix cgo -o app cmd/{{cookiecutter.project_name}}.go
|
||||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -installsuffix cgo -o app cmd/{{cookiecutter.project_name}}/main.go
|
||||
|
||||
|
||||
# Moving the binary to the 'final Image' to make it smaller
|
||||
|
Reference in New Issue
Block a user