Adding a dockerfile for the api

This commit is contained in:
Zoe Roux
2022-01-25 16:59:19 +01:00
parent c39863ab7f
commit 39c5c05f72
+8
View File
@@ -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"]