From 39c5c05f726baecc22fc9a97cccb5266a2a9e4a4 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Tue, 25 Jan 2022 16:59:19 +0100 Subject: [PATCH] Adding a dockerfile for the api --- api/Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 api/Dockerfile diff --git a/api/Dockerfile b/api/Dockerfile new file mode 100644 index 0000000..9e99996 --- /dev/null +++ b/api/Dockerfile @@ -0,0 +1,8 @@ +FROM haskell:8 + +RUN cabal update +COPY ./aeris.cabal /opt/aeris/aeris.cabal +RUN cabal build --only-dependencies -j4 +COPY . /opt/aeris +RUN cabal install +CMD ["aeris"]