From 22118a02b083a54750703f091cee1eaba725dd38 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Sun, 21 May 2023 10:42:32 -0500 Subject: [PATCH] update --- .gitlab-ci.yml | 5 +---- Dockerfile | 9 ++------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 265f09f..908a64c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,4 @@ include: - project: 'developerdurp/yml' ref: main - file: 'pipelines/golang.yml' - -variables: - GIN_MODE: release + file: 'pipelines/golang.yml' \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index db26a70..cdacb9c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,15 +13,10 @@ RUN adduser \ "durp" WORKDIR /app -COPY . . +COPY ./output/* . RUN chown -R durp /app USER durp - -ENV GOPATH /go -ENV PATH $PATH:$GOPATH/bin - +ENV GIN_MODE=release EXPOSE 8080 - -# Run the application CMD ["./main"]