This commit is contained in:
2023-05-21 10:42:32 -05:00
parent 4b559bce14
commit 22118a02b0
2 changed files with 3 additions and 11 deletions

View File

@@ -2,6 +2,3 @@ include:
- project: 'developerdurp/yml'
ref: main
file: 'pipelines/golang.yml'
variables:
GIN_MODE: release

View File

@@ -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"]