diff --git a/docker-image/Dockerfile b/docker-image/Dockerfile index cdaa218..268dfef 100644 --- a/docker-image/Dockerfile +++ b/docker-image/Dockerfile @@ -4,7 +4,7 @@ ENV REDIS-SERVICE-NAME="redis" WORKDIR /app -ADD go.* ./main.go . +ADD go.* main.go ./ RUN go mod download \ && CGO_ENABLED=0 GOOS=linux go build -o main . @@ -15,4 +15,4 @@ COPY ./public/index.html public/index.html COPY ./public/script.js public/script.js COPY ./public/style.css public/style.css CMD ["/app/main"] -EXPOSE 3000 \ No newline at end of file +EXPOSE 3000