Rename zed-server to collab
Over time, I think we may end up having multiple services, so it seems like a good opportunity to name this one more specifically while the cost is low. It just seems like naming it "zed" and "zed-server" leaves it a bit open ended.
This commit is contained in:
parent
17195e615e
commit
ab8204368c
124 changed files with 71 additions and 113 deletions
14
Dockerfile
14
Dockerfile
|
@ -14,20 +14,20 @@ RUN --mount=type=cache,target=./script/node_modules \
|
|||
RUN --mount=type=cache,target=./script/node_modules \
|
||||
script/build-css --release
|
||||
|
||||
# Compile server
|
||||
# Compile collab server
|
||||
RUN --mount=type=cache,target=./script/node_modules \
|
||||
--mount=type=cache,target=/usr/local/cargo/registry \
|
||||
--mount=type=cache,target=./target \
|
||||
cargo build --release --package zed-server --bin zed-server
|
||||
cargo build --release --package collab --bin collab
|
||||
|
||||
# Copy server binary out of cached directory
|
||||
# Copy collab server binary out of cached directory
|
||||
RUN --mount=type=cache,target=./target \
|
||||
cp /app/target/release/zed-server /app/zed-server
|
||||
cp /app/target/release/collab /app/collab
|
||||
|
||||
# Copy server binary to the runtime image
|
||||
# Copy collab server binary to the runtime image
|
||||
FROM debian:bullseye-slim as runtime
|
||||
RUN apt-get update; \
|
||||
apt-get install -y --no-install-recommends libcurl4-openssl-dev ca-certificates
|
||||
WORKDIR app
|
||||
COPY --from=builder /app/zed-server /app
|
||||
ENTRYPOINT ["/app/zed-server"]
|
||||
COPY --from=builder /app/collab /app
|
||||
ENTRYPOINT ["/app/collab"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue