Fixed Static folder push

This commit is contained in:
Daniel Legt 2024-01-22 02:34:27 +02:00
parent f2c84fb6b2
commit 44d4237bec
2 changed files with 2 additions and 2 deletions

View File

@ -3,5 +3,6 @@
!main.go !main.go
!/lib !/lib
!/templates !/templates
!/static
!/go.mod !/go.mod
!/go.sum !/go.sum

View File

@ -1,5 +1,5 @@
# Build Stage # Build Stage
FROM debian:bullseye FROM debian:bullseye-slim
ENV IS_DOCKER TRUE ENV IS_DOCKER TRUE
LABEL org.opencontainers.image.source https://github.com/JustKato/drive-health 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 GOPATH=/go
ENV PATH=$GOPATH/bin:$PATH ENV PATH=$GOPATH/bin:$PATH
ENV GO111MODULE=on ENV GO111MODULE=on
ENV DIST_DIR=/app
# Create the directory and set it as the working directory # Create the directory and set it as the working directory
WORKDIR /app WORKDIR /app