Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
NanuIjaz authored Sep 9, 2023
1 parent e493e7e commit 811195b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ RUN wget https://downloads.haskell.org/ghc/8.10.7/ghc-8.10.7-x86_64-deb9-linux.t
&& rm -rf /ghc-8.10.7
RUN groupadd -g 1001 cardano
RUN useradd -rm -d /home/cardano -s /bin/bash -g 1001 -G sudo -u 1001 cardano
RUN mkdir /home/cardano
RUN mkdir /home/cardano/cdbsync
RUN mkdir /home/cardano/ipc
RUN mkdir /home/cardano/cardano-db-sync
Expand All @@ -70,7 +71,6 @@ COPY --from=build /root/.local/bin/ /bin/
COPY --from=build /usr/local/lib/ /lib/
RUN apt-get update && apt-get install git postgresql libpq-dev libghc-postgresql-libpq-dev -y
ARG VERSION
RUN mkdir /home/cardano
RUN cd /home/cardano \
&& git clone https://github.com/input-output-hk/cardano-db-sync.git
ARG NODE_VERSION
Expand Down

0 comments on commit 811195b

Please sign in to comment.