From 44d4237becdee95b26d603865ec0819e9a4fcfae Mon Sep 17 00:00:00 2001 From: Daniel Legt Date: Mon, 22 Jan 2024 02:34:27 +0200 Subject: [PATCH] Fixed Static folder push --- .dockerignore | 1 + Dockerfile | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.dockerignore b/.dockerignore index b06e6a8..520470a 100644 --- a/.dockerignore +++ b/.dockerignore @@ -3,5 +3,6 @@ !main.go !/lib !/templates +!/static !/go.mod !/go.sum \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index ed1bbb5..e06728e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build Stage -FROM debian:bullseye +FROM debian:bullseye-slim ENV IS_DOCKER TRUE LABEL org.opencontainers.image.source https://github.com/JustKato/drive-health @@ -24,7 +24,6 @@ ENV PATH /usr/local/go/bin:$PATH ENV GOPATH=/go ENV PATH=$GOPATH/bin:$PATH ENV GO111MODULE=on -ENV DIST_DIR=/app # Create the directory and set it as the working directory WORKDIR /app