File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ sha1 = "0.10.5"
34
34
hex = " 0.4.3"
35
35
36
36
[[bin ]]
37
- name = " camo2 "
37
+ name = " camo-proxy "
38
38
path = " src/bin/standalone.rs"
39
39
required-features = [" standalone" ]
40
40
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ COPY ./ /home/rust/src
8
8
RUN --mount=type=cache,target=/home/rust/src/target \
9
9
--mount=type=cache,target=/root/.cargo/registry \
10
10
--mount=type=cache,target=/root/.cargo/git \
11
- cargo build --release --no-default-features --features 'standalone' --bin standalone && \
12
- mv /home/rust/src/target/x86_64-unknown-linux-musl/release/standalone /standalone
11
+ cargo build --release --no-default-features --features 'standalone' --bin camo-proxy && \
12
+ mv /home/rust/src/target/x86_64-unknown-linux-musl/release/camo-proxy /camo-proxy
13
13
14
14
FROM scratch
15
15
@@ -19,12 +19,12 @@ LABEL org.opencontainers.image.title="camo-service" \
19
19
org.opencontainers.image.source="https://github.com/Lantern-chat/camo"
20
20
21
21
USER 1001:1001
22
- COPY --from=build /standalone /standalone
22
+ COPY --from=build /camo-proxy /camo-proxy
23
23
24
24
ENV CAMO_BIND_ADDRESS="127.0.0.1:8050"
25
25
# Example key, replace with your own
26
26
ENV CAMO_SIGNING_KEY="59d273a2641327d005b255bb7dc89a9f"
27
27
28
28
EXPOSE 8050/tcp
29
29
30
- ENTRYPOINT ["/standalone " ]
30
+ ENTRYPOINT ["/camo-proxy " ]
You can’t perform that action at this time.
0 commit comments