Skip to content

Commit 7224a97

Browse files
Fix container build and use extra Containerfile
1 parent e4113de commit 7224a97

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ nfpms:
3232
dockers_v2:
3333
- images:
3434
- "ghcr.io/voxpupuli/{{ .ProjectName }}"
35-
dockerfile: Containerfile
35+
dockerfile: Containerfile.release
3636
platforms:
3737
- linux/amd64
3838
ids:

Containerfile.release

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
FROM scratch
2+
EXPOSE 8080
3+
COPY openvoxview /openvoxview
4+
ENTRYPOINT [ "/openvoxview" ]

0 commit comments

Comments
 (0)