Skip to content

Commit

Permalink
debugging and shi
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettladley committed Jun 11, 2024
1 parent c8145d8 commit 8c3e212
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion backend/.dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
tests/
docs/
*.md
*.templ
3 changes: 1 addition & 2 deletions backend/Dockerfile.server
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ RUN apk add --no-cache git
COPY . ./
RUN go install github.com/a-h/templ/cmd/templ@latest
RUN templ generate
RUN go get ./...
RUN go mod tidy
RUN go mod download
RUN go build -tags prod -o bin/sac main.go
Expand All @@ -15,4 +14,4 @@ FROM scratch
COPY --from=builder /app/bin/sac /sac

EXPOSE 8080
ENTRYPOINT [ "./sac" ]
ENTRYPOINT [ "/sac" ]
2 changes: 2 additions & 0 deletions backend/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ import (
"github.com/GenerateNU/sac/backend/constants"
"github.com/GenerateNU/sac/backend/database"
"github.com/GenerateNU/sac/backend/database/store"

// TODO: disable for prod with build tag
_ "github.com/GenerateNU/sac/backend/docs"
"github.com/GenerateNU/sac/backend/integrations"
"github.com/GenerateNU/sac/backend/integrations/email"
Expand Down

0 comments on commit 8c3e212

Please sign in to comment.