Restructure: code folder structure
This commit is contained in:
parent
c2dc3bd3cb
commit
34eb02d070
@ -3,9 +3,9 @@ FROM ubuntu:22.04
|
|||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
# Copying files to the container
|
# Copying files to the container
|
||||||
COPY supervisord.conf /tmp
|
COPY /deb-files-mainnet/supervisord.conf /tmp
|
||||||
COPY backend-flo_0.15.1.1-satoshilabs-1_amd64.deb /tmp/backend-flo.deb
|
COPY /deb-files-mainnet/backend-flo_0.15.1.1-satoshilabs-1_amd64.deb /tmp/backend-flo.deb
|
||||||
COPY blockbook-flo_0.4.0_amd64.deb /tmp/blockbook-flo.deb
|
COPY /deb-files-mainnet/blockbook-flo_0.4.0_amd64.deb /tmp/blockbook-flo.deb
|
||||||
|
|
||||||
# Installing Blockbook and Supervisor
|
# Installing Blockbook and Supervisor
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
|
|||||||
@ -3,10 +3,10 @@ FROM ubuntu:22.04
|
|||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
# Copying files to the container
|
# Copying files to the container
|
||||||
# COPY peers.dat /tmp
|
# COPY /deb-files-testnet/peers.dat /tmp
|
||||||
COPY supervisord.conf /tmp
|
COPY /deb-files-testnet/supervisord.conf /tmp
|
||||||
COPY backend-flo-testnet_0.15.1.1-satoshilabs-1_amd64.deb /tmp/backend-flo.deb
|
COPY /deb-files-testnet/backend-flo-testnet_0.15.1.1-satoshilabs-1_amd64.deb /tmp/backend-flo.deb
|
||||||
COPY blockbook-flo-testnet_0.4.0_amd64.deb /tmp/blockbook-flo.deb
|
COPY /deb-files-testnet/blockbook-flo-testnet_0.4.0_amd64.deb /tmp/blockbook-flo.deb
|
||||||
|
|
||||||
# Installing Blockbook and Supervisor
|
# Installing Blockbook and Supervisor
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
@ -78,11 +78,11 @@ Steps to build the Docker image for Testnet.
|
|||||||
|
|
||||||
- **Building the Docker Image**
|
- **Building the Docker Image**
|
||||||
|
|
||||||
Navigate to the `testnet` directory of the repository cloned or downloaded and build the Docker image:
|
Navigate to the directory where the repository is cloned or downloaded and build the Docker image:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cd <path/to/cloned/repository/testnet>
|
cd <path/to/cloned/repository>
|
||||||
docker build -t <imagename> .
|
docker build -f Dockerfile-testnet -t <imagename> .
|
||||||
```
|
```
|
||||||
|
|
||||||
- **Running the Docker Container**
|
- **Running the Docker Container**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user