We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c311030 commit f57b6f3Copy full SHA for f57b6f3
Dockerfile
@@ -3,6 +3,9 @@ FROM rustlang/rust:nightly
3
WORKDIR /usr/srv/hpkgbouncer
4
COPY . .
5
6
-RUN cargo install --path .
+RUN cargo install --path . \
7
+ && rm -rf *
8
9
CMD ["hpkgbouncer"]
10
+
11
+HEALTHCHECK --start-period=5m CMD curl --fail http://`hostname`:8000/ || exit 1
Makefile
@@ -1,4 +1,5 @@
1
default:
2
+ cargo clean
docker build --no-cache --tag docker.io/haiku/hpkgbouncer:0.2.0 .
push:
docker push docker.io/haiku/hpkgbouncer:0.2.0
0 commit comments