Skip to content

Commit

Permalink
edit Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Stepic committed Jun 19, 2024
1 parent 5a732fc commit 53d3f07
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion govtool/backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
ARG BASE_IMAGE_TAG=latest
ARG BASE_IMAGE_REPO=733019650473.dkr.ecr.eu-west-1.amazonaws.com/backend-base
ARG BASE_IMAGE_REPO=ghcr.io/intersectmbo/backend-base
FROM $BASE_IMAGE_REPO:$BASE_IMAGE_TAG
WORKDIR /src
COPY . .
RUN cabal build
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

# Expose the necessary port
EXPOSE 9876

# Default command (can be overridden by docker-compose or docker run)
CMD ["/usr/local/bin/vva-be", "-c", "/run/secrets/backend-config.json", "start-app"]

0 comments on commit 53d3f07

Please sign in to comment.