forked from pokt-network/poktroll
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.dev
34 lines (23 loc) · 874 Bytes
/
Dockerfile.dev
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# This Dockerfile is used to build container image for development purposes.
# It intentionally contains no security features, ships with code and troubleshooting tools.
FROM golang:1.23.0 as base
RUN apt update && \
apt-get install -y \
ca-certificates net-tools kubernetes-client \
curl jq yq make vim less dnsutils
# enable faster module downloading.
ENV GOPROXY https://proxy.golang.org
COPY . /poktroll
WORKDIR /poktroll
RUN mv /poktroll/bin/ignite /usr/bin/ && mv /poktroll/bin/poktrolld /usr/bin/
# Install Cosmovisor
RUN make install_cosmovisor
# These are helpful for testing locally:
# RUN mv bin/poktrolld /usr/bin/
# RUN mv bin/ignite /usr/bin/
RUN make localnet_regenesis
# TODO_DOCUMENT(@okdas): Ports are not documented as they will soon be changed with a document to follow
EXPOSE 8545
EXPOSE 8546
EXPOSE 8547
ENTRYPOINT ["poktrolld"]