-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add integration test example and update readme
- Loading branch information
Showing
5 changed files
with
39 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
FROM docker.io/haskell:latest | ||
FROM docker.io/haskell:9.4.8-slim | ||
|
||
RUN apt update | ||
RUN apt install -y python3 git make | ||
ENV POSTGRES_PASSWORD test | ||
|
||
RUN apt update | ||
RUN apt install -y git make libpq-dev postgresql | ||
|
||
COPY ./../ ./app | ||
|
||
WORKDIR /app | ||
|
||
RUN ls | ||
|
||
ENV PORT 8000 | ||
|
||
CMD make run | ||
RUN cabal update | ||
RUN cabal build | ||
|
||
CMD service postgresql start && cabal run |