mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-04 12:13:27 +00:00
Update server Dockerfile due to crate name change (#1211)
* Update server Dockerfile due to crate name change * Forgot that the bin name changed too
This commit is contained in:
parent
a253431d0f
commit
c86a728a1a
|
@ -70,7 +70,7 @@ RUN --mount=type=cache,target=/root/.cache/prisma/binaries/cli/ \
|
|||
|
||||
COPY --from=web /srv/spacedrive/apps/web/dist /srv/spacedrive/apps/web/dist
|
||||
|
||||
RUN cargo build --features assets --release -p server
|
||||
RUN cargo build --features assets --release -p sd-server
|
||||
|
||||
#--
|
||||
|
||||
|
@ -86,7 +86,7 @@ ENV TZ=UTC \
|
|||
DATA_DIR=/data
|
||||
|
||||
# Note: This needs to happen before the apt call to avoid locking issues with the previous step
|
||||
COPY --from=server /srv/spacedrive/target/release/server /usr/bin/
|
||||
COPY --from=server /srv/spacedrive/target/release/sd-server /usr/bin/
|
||||
|
||||
RUN --mount=type=cache,target=/var/cache/apt --mount=type=cache,target=/var/lib/apt \
|
||||
apt-get install \
|
||||
|
@ -102,7 +102,7 @@ EXPOSE 8080
|
|||
VOLUME [ "/data" ]
|
||||
|
||||
# Run the CLI when the container is started
|
||||
ENTRYPOINT [ "server" ]
|
||||
ENTRYPOINT [ "sd-server" ]
|
||||
|
||||
LABEL org.opencontainers.image.title="Spacedrive Server" \
|
||||
org.opencontainers.image.source="https://github.com/spacedriveapp/spacedrive"
|
||||
|
|
Loading…
Reference in a new issue