fix: Dockerfile to include .env
Some checks failed
release / docker (push) Has been cancelled

This commit is contained in:
Mohamed Sohail 2024-11-19 17:25:20 +03:00
parent 0a19a6c48b
commit 7adc0c9c08
Signed by: kamikazechaser
GPG Key ID: 7DD45520C01CD85D
2 changed files with 3 additions and 2 deletions

View File

@ -10,4 +10,4 @@
!/LICENSE !/LICENSE
!/README.md !/README.md
!/go.* !/go.*
!/.env !/.env.example

View File

@ -33,7 +33,8 @@ COPY --from=build /build/ussd-africastalking .
COPY --from=build /build/LICENSE . COPY --from=build /build/LICENSE .
COPY --from=build /build/README.md . COPY --from=build /build/README.md .
COPY --from=build /build/services ./services COPY --from=build /build/services ./services
COPY --from=build /build/.env . COPY --from=build /build/.env.example .
RUN mv .env.example .env
EXPOSE 7123 EXPOSE 7123