Skip to content

Commit

Permalink
ci: update Dockerfile and docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
Favo02 committed Apr 21, 2024
1 parent e718e71 commit 75b966d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ RUN sudo chown -R opam:nogroup .

RUN sudo apk add gmp-dev libev-dev postgresql14-dev

ENV OPAMTIMEOUT=1200
ENV OPAMSOLVERTIMEOUT=1200
ENV OPAMTIMEOUT=1800
ENV OPAMSOLVERTIMEOUT=1800
ENV ROOT_PATH=/app

RUN opam update && opam upgrade -y
Expand Down
10 changes: 10 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
services:

website-cessadvisorapi:
build: .
container_name: website-cessadvisorapi
restart: unless-stopped
ports:
- 3003:3000
volumes:
- './logs:/app/logs'

0 comments on commit 75b966d

Please sign in to comment.