diff --git a/contrib/teamcity/build-configurations.yml b/contrib/teamcity/build-configurations.yml --- a/contrib/teamcity/build-configurations.yml +++ b/contrib/teamcity/build-configurations.yml @@ -1051,7 +1051,7 @@ preview-explorer: docker: - context: web/explorer + dockerfile: explorer.Dockerfile port: 3035 preview-cashtab: diff --git a/web/explorer/Dockerfile b/explorer.Dockerfile rename from web/explorer/Dockerfile rename to explorer.Dockerfile --- a/web/explorer/Dockerfile +++ b/explorer.Dockerfile @@ -5,11 +5,11 @@ apt-get install -y libssl-dev pkg-config protobuf-compiler WORKDIR /usr/src/explorer -COPY . . +COPY web/explorer . WORKDIR /usr/src/explorer/explorer-exe RUN mv config.dist.toml config.toml RUN cargo build --release -CMD ["cargo", "run", "--release"] +CMD ["cargo", "run", "--release", "--locked"]