mirror of
https://github.com/JustKato/drive-health.git
synced 2026-02-27 06:17:00 +02:00
Fixed Dockerfile
This commit is contained in:
7
.dockerignore
Normal file
7
.dockerignore
Normal file
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
|
||||
!main.go
|
||||
!/lib
|
||||
!/templates
|
||||
!/go.mod
|
||||
!/go.sum
|
||||
@@ -27,7 +27,7 @@ ENV GO111MODULE=on
|
||||
ENV DIST_DIR=/app
|
||||
|
||||
# Create the directory and set it as the working directory
|
||||
WORKDIR $DIST_DIR
|
||||
WORKDIR /app
|
||||
|
||||
# Copy the Go files and download dependencies
|
||||
COPY go.mod go.sum ./
|
||||
|
||||
Reference in New Issue
Block a user