features/cutover-to-ef #9

Merged
jtom38 merged 27 commits from features/cutover-to-ef into main 2023-06-25 21:15:58 -07:00
Showing only changes of commit bb8b3c4b74 - Show all commits

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 FROM mcr.microsoft.com/dotnet/sdk:7.0.103 as build
@ -26,9 +26,9 @@ ENV DOTNET_URLS=http://*:5000
WORKDIR /app WORKDIR /app
RUN mkdir /migrations #RUN mkdir /migrations
COPY --from=publish /app/build /app COPY --from=publish /app/build /app
COPY --from=build ./app/Newsbot.Collector.Database/Migrations /app/migrations #COPY --from=build ./app/Newsbot.Collector.Database/Migrations /app/migrations
COPY --from=goose /go/bin/goose /app #COPY --from=goose /go/bin/goose /app
CMD [ "dotnet", "Newsbot.Collector.Api.dll" ] CMD [ "dotnet", "Newsbot.Collector.Api.dll" ]