mirror of https://github.com/oxen-io/lokinet
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
303 B
Docker
16 lines
303 B
Docker
FROM ubuntu:latest
|
|
|
|
RUN apt update && \
|
|
apt install -y build-essential cmake git libcap-dev curl ninja-build
|
|
|
|
WORKDIR /src/
|
|
COPY . /src/
|
|
|
|
RUN make NINJA=ninja
|
|
#RUN ./lokinet -r -f
|
|
COPY lokinet-docker.ini /root/.lokinet/lokinet.ini
|
|
RUN ./lokinet-bootstrap
|
|
|
|
CMD ["./lokinet"]
|
|
EXPOSE 1090/udp 1190/tcp
|