From 7adc0c9c084ee7ed83f2b95c999bde22ffd01d88 Mon Sep 17 00:00:00 2001 From: Mohammed Sohail Date: Tue, 19 Nov 2024 17:25:20 +0300 Subject: [PATCH] fix: Dockerfile to include .env --- .dockerignore | 2 +- Dockerfile | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.dockerignore b/.dockerignore index 668522b..a118f64 100644 --- a/.dockerignore +++ b/.dockerignore @@ -10,4 +10,4 @@ !/LICENSE !/README.md !/go.* -!/.env \ No newline at end of file +!/.env.example \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 6d88926..64ff175 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,7 +33,8 @@ COPY --from=build /build/ussd-africastalking . COPY --from=build /build/LICENSE . COPY --from=build /build/README.md . COPY --from=build /build/services ./services -COPY --from=build /build/.env . +COPY --from=build /build/.env.example . +RUN mv .env.example .env EXPOSE 7123