From 49057d6b13a5dddc70234e1b42a63553e8e4c505 Mon Sep 17 00:00:00 2001 From: Marco Realacci Date: Mon, 12 Dec 2022 19:27:02 +0100 Subject: [PATCH] Change base image to debian for some testing --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5689760..05d33e9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,7 +34,7 @@ RUN /bin/bash -euo pipefail -c "for ex in \$(ls); do pushd \$ex; CGO_ENABLED=1 g RUN cd /app/ && strip * && upx -9 * ### Create final container from scratch -FROM scratch +FROM debian:latest ### Inform Docker about which port is used EXPOSE 3000 4000 @@ -59,7 +59,7 @@ ARG GROUP_NAME USER appuser ### Executable command -CMD ["/app/webapi", "--db-filename", "/data/wasaphoto.db", "--data-path", "/data/data"] +CMD ["/app/webapi ", "--db-filename", "/data/wasaphoto.db", "--data-path", "/data/data"] ### OpenContainers tags LABEL org.opencontainers.image.created="${BUILD_DATE}" \