Skip to content

Commit

Permalink
[#569] Fix Dockerfile to correctly build backend module
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
placek committed Mar 27, 2024
1 parent aa63ed7 commit b4fe47a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion govtool/backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b4fe47a

Please sign in to comment.