added region support, fixed minor bugs
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Philipp 2021-09-20 22:55:12 +02:00
parent 4807355add
commit 77b88325cf
8 changed files with 121 additions and 16 deletions

View file

@ -18,7 +18,7 @@ RUN go mod download
COPY . .
# Build the Go app
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o main .
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o main ./cmd/main.go
# GO Repo base repo
FROM alpine:latest
@ -30,10 +30,10 @@ RUN mkdir /app
WORKDIR /app/
# Copy the Pre-built binary file from the previous stage
COPY --from=builder /app/main .
COPY --from=builder /app .
# Expose port 8080
EXPOSE 8080
# Expose port 3000
EXPOSE 3000
# Run Executable
CMD ["./main"]