Skip to content

Commit

Permalink
Improvements
Browse files Browse the repository at this point in the history
Signed-off-by: djerfy <[email protected]>
  • Loading branch information
djerfy committed Dec 19, 2023
1 parent 6331509 commit 479c890
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.idea
.DS_Store

dist/
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ FROM golang:alpine AS build

WORKDIR /build

COPY src .
COPY . .

RUN go get -d -v && \
RUN go mod tidy && \
go build -o bonjourmadame-api-server

############################
Expand All @@ -30,7 +30,7 @@ ENV GIN_MODE="release"

COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=build /build/bonjourmadame-api-server ./bonjourmadame-api-server
COPY --from=build /build/static ./static
COPY --from=build /build/templates ./templates
COPY --from=build /build/resources/static ./static
COPY --from=build /build/resources/templates ./templates

CMD ["/app/bonjourmadame-api-server"]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.

0 comments on commit 479c890

Please sign in to comment.