Skip to content

Commit

Permalink
merged with main
Browse files Browse the repository at this point in the history
  • Loading branch information
supreme2580 committed Jan 18, 2025
2 parents c05bcea + aea66b7 commit 7bca237
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions backend/Dockerfile.websocket.prod
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,3 @@ RUN go build -o web-sockets ./cmd/web-sockets/web-sockets.go
EXPOSE 8083

CMD ["./web-sockets"]

FROM --platform=linux/amd64 golang:1.22.2-alpine

RUN apk add --no-cache bash curl git jq

# Copy over the configs
WORKDIR /configs
COPY ./configs/ .
COPY ./configs/prod-database.config.json ./database.config.json
COPY ./configs/prod-backend.config.json ./backend.config.json

# Copy over the app
WORKDIR /app
COPY ./backend/go.mod ./backend/go.sum ./
RUN go mod download
COPY ./backend .

# Build the app & run it
RUN go build -o web-sockets ./cmd/web-sockets/web-sockets.go

EXPOSE 8083

CMD ["./web-sockets"]

0 comments on commit 7bca237

Please sign in to comment.