removed goose from Dockerfile

This commit is contained in:
James Tombleson 2023-06-19 15:38:33 -07:00
parent 79c4da89e4
commit bb8b3c4b74

View File

@ -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" ]