Attempt to fix the connection bug I'm experiencing

This commit is contained in:
2022-07-12 21:18:33 +01:00
parent ba75a239e6
commit ae917a1137
5 changed files with 72 additions and 52 deletions
+1 -6
View File
@@ -7,9 +7,4 @@ COPY ./backend.cabal /opt/backend
RUN cabal build --only-dependencies -j4
COPY . /opt/backend
RUN cabal install
FROM debian:buster
RUN apt-get update
RUN yes | apt-get install postgresql libpq-dev
COPY --from=build /root/.cabal/bin/backend ./
CMD ["./backend"]
CMD ["backend"]