mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
555 B
15 lines
555 B
FROM alpine AS unzip
|
|
WORKDIR /src
|
|
RUN apk add --no-cache unzip
|
|
COPY /samples/MicroserviceDemo/databases/MsDemo_Identity.zip .
|
|
COPY /samples/MicroserviceDemo/databases/MsDemo_ProductManagement.zip .
|
|
RUN unzip -q "*.zip"
|
|
|
|
FROM mcr.microsoft.com/mssql-tools AS restore
|
|
WORKDIR /src
|
|
COPY --from=unzip /src/MsDemo_Identity.bak .
|
|
COPY --from=unzip /src/MsDemo_ProductManagement.bak .
|
|
COPY /samples/MicroserviceDemo/databases/restore/entrypoint.sh .
|
|
RUN /bin/bash -c "sed -i $'s/\r$//' entrypoint.sh"
|
|
RUN chmod +x ./entrypoint.sh
|
|
ENTRYPOINT [ "./entrypoint.sh" ] |