Initial commit

This commit is contained in:
skidoodle 2024-05-28 10:55:29 +02:00
commit d3d2cbd9d0
11 changed files with 1031 additions and 0 deletions

13
Dockerfile Normal file
View file

@ -0,0 +1,13 @@
FROM golang:alpine as builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN go build -o spotify-ws .
FROM alpine:latest
RUN apk --no-cache add ca-certificates
WORKDIR /root/
COPY --from=builder /app/spotify-ws .
EXPOSE 3000
CMD ["./spotify-ws"]