mirror of
https://github.com/zoriya/Aeris.git
synced 2025-12-06 06:36:12 +00:00
fix: fix dockerfile build
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
.stack-work
|
||||
dist-newstyle
|
||||
Dockerfile
|
||||
@@ -1,9 +1,10 @@
|
||||
FROM haskell:8
|
||||
|
||||
WORKDIR /opt/aeris
|
||||
RUN apt-get update && apt-get install -y postgresql postgresql-contrib libpq-dev
|
||||
RUN cabal update
|
||||
COPY ./aeris.cabal /opt/aeris/aeris.cabal
|
||||
RUN cabal build --only-dependencies -j4
|
||||
COPY . /opt/aeris
|
||||
RUN cabal install
|
||||
CMD aeris
|
||||
CMD aeris-exe
|
||||
|
||||
Reference in New Issue
Block a user