Fixed Dockerfile
This commit is contained in:
parent
4f50819f92
commit
f2c84fb6b2
|
@ -0,0 +1,7 @@
|
||||||
|
/**
|
||||||
|
|
||||||
|
!main.go
|
||||||
|
!/lib
|
||||||
|
!/templates
|
||||||
|
!/go.mod
|
||||||
|
!/go.sum
|
|
@ -27,7 +27,7 @@ ENV GO111MODULE=on
|
||||||
ENV DIST_DIR=/app
|
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 $DIST_DIR
|
WORKDIR /app
|
||||||
|
|
||||||
# Copy the Go files and download dependencies
|
# Copy the Go files and download dependencies
|
||||||
COPY go.mod go.sum ./
|
COPY go.mod go.sum ./
|
||||||
|
|
Loading…
Reference in New Issue