We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b635b47 + aab797e commit 6a43b43Copy full SHA for 6a43b43
Dockerfile
@@ -18,7 +18,7 @@ RUN go mod download
18
# Build
19
ARG APP_VERSION="v0.1.0+hotfixes"
20
RUN \
21
- CGO_ENABLED=0 GOOS=linux go build -ldflags "-X 'main.AppVersion=$APP_VERSION'" -o /packagelock
+ CGO_ENABLED=0 GOOS=linux go build -ldflags "-X 'main.AppVersion=$APP_VERSION'" -o /app/packagelock
22
23
# Optional:
24
# To bind to a TCP port, runtime parameters must be supplied to the docker command.
@@ -28,4 +28,4 @@ RUN \
28
EXPOSE 8080
29
30
# Run
31
-CMD ["/packagelock"]
+CMD ["/app/packagelock"]
0 commit comments