Skip to content

Commit 66a432e

Browse files
committed
fix(Dockerfile): update the dockerfile to use alpine and put the bin and config in the correct directories
1 parent 2ef258d commit 66a432e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

deployment/docker/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM scratch
1+
FROM alpine:latest
22

3-
COPY void /
4-
COPY deployment/config/config.yaml /
3+
COPY void /usr/bin/void
4+
COPY deployment/config/config.yaml /etc/void/config.yaml
55

6-
ENTRYPOINT [ "/void" ]
6+
ENTRYPOINT [ "/usr/bin/void" ]

deployment/k8s/deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
spec:
1515
containers:
1616
- name: void-container
17-
image: ghcr.io/devnw/void:v0.0.1-beta2
17+
image: ghcr.io/devnw/void:v0.0.1-beta6
1818
ports:
1919
- containerPort: 53
2020
resources:

0 commit comments

Comments
 (0)