diff --git a/Dockerfile b/Dockerfile index 153e250..ab3e3ce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ -FROM golang:latest as goose +#FROM golang:latest as goose -RUN go install github.com/pressly/goose/v3/cmd/goose@latest +#RUN go install github.com/pressly/goose/v3/cmd/goose@latest FROM mcr.microsoft.com/dotnet/sdk:7.0.103 as build @@ -26,9 +26,9 @@ ENV DOTNET_URLS=http://*:5000 WORKDIR /app -RUN mkdir /migrations +#RUN mkdir /migrations COPY --from=publish /app/build /app -COPY --from=build ./app/Newsbot.Collector.Database/Migrations /app/migrations -COPY --from=goose /go/bin/goose /app +#COPY --from=build ./app/Newsbot.Collector.Database/Migrations /app/migrations +#COPY --from=goose /go/bin/goose /app CMD [ "dotnet", "Newsbot.Collector.Api.dll" ] \ No newline at end of file