Skip to content

Commit

Permalink
ci: change Dockerfile base image to improve build time
Browse files Browse the repository at this point in the history
  • Loading branch information
Favo02 committed Apr 21, 2024
1 parent 7a2856e commit d6d5feb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM ocaml/opam:alpine-ocaml-5.0
FROM ocaml/opam:latest

WORKDIR /app

COPY backend .
COPY .env .
RUN sudo chown -R opam:nogroup .

RUN sudo apk add gmp-dev libev-dev postgresql14-dev
RUN sudo apt-get update && sudo apt-get install -y libgmp-dev libev-dev libpq-dev pkg-config

ENV OPAMTIMEOUT=1800
ENV OPAMSOLVERTIMEOUT=1800
Expand Down

0 comments on commit d6d5feb

Please sign in to comment.