diff --git a/backend/Dockerfile.websocket.prod b/backend/Dockerfile.websocket.prod index 532c2a8b..0dbdb4db 100644 --- a/backend/Dockerfile.websocket.prod +++ b/backend/Dockerfile.websocket.prod @@ -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"]