[ref] change project file structure

This commit is contained in:
oldnick85
2024-01-06 22:42:20 +03:00
parent 9433a951cd
commit d258af16a3
6 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -96,7 +96,7 @@ EXPOSE 10765
WORKDIR /I2PD/
COPY --from=builder_i2pd /BUILD_I2PD/i2pd/build/i2pd .
COPY --from=builder_i2pd /BUILD_I2PD/i2pd/contrib/certificates ./certificates
COPY i2pd.conf .
COPY ./src/i2pd.conf .
RUN ulimit -n 4096
# ==== YGGDRASIL ====
# Ports used by YGGDRASIL
@@ -108,7 +108,7 @@ WORKDIR /YGGDRASIL/
COPY --from=builder_yggdrasil /BUILD_YGGDRASIL/yggdrasil-go/yggdrasil .
COPY --from=builder_yggdrasil /BUILD_YGGDRASIL/yggdrasil-go/yggdrasilctl .
COPY --from=builder_yggdrasil /BUILD_YGGDRASIL/yggdrasil-go/genkeys .
COPY yggdrasil.conf .
COPY ./src/yggdrasil.conf .
WORKDIR /
COPY entrypoint.sh .
COPY ./src/entrypoint.sh .
CMD ["bash", "/entrypoint.sh"]
View File
View File
@@ -1,6 +1,6 @@
#!/bin/bash
TAG_VERSION=$(git describe --tags || echo "unknown")
docker build \
docker build --file="src/Dockerfile" \
--build-arg UBUNTU_VERSION=23.10 \
--build-arg I2PD_VERSION=2.50.1 \
--build-arg I2PD_COMPILER=gcc \