Fixed some bugs

Images should not be included in the database
Removes songs where the path doesn't work
Started working on adding cover images
Started adding vue directly in the application
This commit is contained in:
2022-01-15 01:39:21 +01:00
2 changed files with 12 additions and 6 deletions

View File

@@ -1,11 +1,17 @@
FROM golang:1.15.5-alpine as build_go
FROM golang:1.16-alpine as build_go
COPY *.go go.mod /music-server/
WORKDIR /music-server
RUN go build
COPY go.* /music-server/
COPY ./cmd /music-server/cmd/
COPY ./pkg /music-server/pkg/
WORKDIR /music-server/
RUN go mod download
WORKDIR /music-server/cmd/backend
RUN go build -o /music-server/MusicServer
# Stage 2, distribution container
FROM golang:1.15.5-alpine
FROM golang:1.16-alpine
RUN apk add --no-cache bash
EXPOSE 8080
VOLUME /sorted