From 0f07ccb94f1e1cd62e85b2c007a97324eb017072 Mon Sep 17 00:00:00 2001 From: KoCoder Date: Tue, 27 Aug 2024 18:28:10 +0200 Subject: [PATCH] rename Dockerfile and copy all files --- .gitea/workflows/release-tag.yml | 2 +- DOCKERFILE => Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename DOCKERFILE => Dockerfile (95%) diff --git a/.gitea/workflows/release-tag.yml b/.gitea/workflows/release-tag.yml index 7fdc180..69e5254 100644 --- a/.gitea/workflows/release-tag.yml +++ b/.gitea/workflows/release-tag.yml @@ -27,4 +27,4 @@ jobs: registry: git.kocoder.xyz username: ${{ secrets.CI_RUNNER_USER }} password: ${{ secrets.CI_RUNNER_TOKEN }} - build_file: DOCKERFILE + build_file: Dockerfile diff --git a/DOCKERFILE b/Dockerfile similarity index 95% rename from DOCKERFILE rename to Dockerfile index 86bb026..f5fd685 100644 --- a/DOCKERFILE +++ b/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1 -FROM golang:1.21.0 +FROM golang:1.23.0 # Set destination for COPY WORKDIR /app @@ -11,7 +11,7 @@ RUN go mod download # Copy the source code. Note the slash at the end, as explained in # https://docs.docker.com/engine/reference/builder/#copy -COPY *.go ./ +COPY ./ ./ # Build RUN CGO_ENABLED=0 GOOS=linux go build -o /szuntis-backend