Initial commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
FROM haskell:8
|
||||
WORKDIR /opt/backend
|
||||
RUN apt-get update
|
||||
RUN yes | apt-get install postgresql libpq-dev
|
||||
RUN cabal update
|
||||
COPY ./backend.cabal /opt/backend
|
||||
RUN cabal build --only-dependencies -j4
|
||||
COPY . /opt/backend
|
||||
RUN cabal install
|
||||
CMD ["backend"]
|
||||
Reference in New Issue
Block a user