From b4fe47a0d5cfe64adab34c278b8b54ce2afbd0fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Placzy=C5=84ski?= Date: Wed, 27 Mar 2024 08:54:17 +0100 Subject: [PATCH] [#569] Fix Dockerfile to correctly build backend module The deployment of the project was failing due to a bug in the Dockerfile of the backend module, caused by a change in the GHC version. The issue was identified during the build process, as the executable path had changed, preventing successful building of the backend module. Changes made in this commit: - Updated the Dockerfile for the backend module to reflect the correct GHC version (9.2.7) and executable path. --- govtool/backend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/govtool/backend/Dockerfile b/govtool/backend/Dockerfile index 75600043c..b8882627d 100644 --- a/govtool/backend/Dockerfile +++ b/govtool/backend/Dockerfile @@ -3,4 +3,4 @@ FROM 733019650473.dkr.ecr.eu-west-1.amazonaws.com/backend-base:$BASE_IMAGE_TAG WORKDIR /src COPY . . RUN cabal build -RUN cp dist-newstyle/build/x86_64-linux/ghc-9.2.8/vva-be-0.1.0.0/x/vva-be/build/vva-be/vva-be /usr/local/bin +RUN cp dist-newstyle/build/x86_64-linux/ghc-9.2.7/vva-be-0.1.0.0/x/vva-be/build/vva-be/vva-be /usr/local/bin