Skip to content

Commit

Permalink
Remove unused output image stage
Browse files Browse the repository at this point in the history
  • Loading branch information
Nemo157 committed Oct 16, 2023
1 parent a071e23 commit abd7725
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 66 deletions.
28 changes: 0 additions & 28 deletions dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -137,31 +137,3 @@ RUN apt-get update \
COPY --from=build /build/target/release/cratesfyi /usr/local/bin

ENTRYPOINT ["/usr/local/bin/cratesfyi"]

##################
# Output stage #
##################

FROM ubuntu:22.04 AS output

RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
git \
libmagic1 \
docker.io \
ca-certificates \
build-essential \
gcc \
pkg-config \
libssl-dev

RUN mkdir -p /opt/docsrs/prefix

COPY --from=build /build/target/release/cratesfyi /usr/local/bin
COPY static /opt/docsrs/static
COPY templates /opt/docsrs/templates
COPY dockerfiles/entrypoint.sh /opt/docsrs/
COPY vendor /opt/docsrs/vendor

WORKDIR /opt/docsrs
ENTRYPOINT ["/opt/docsrs/entrypoint.sh"]
CMD ["daemon", "--registry-watcher=disabled"]
38 changes: 0 additions & 38 deletions dockerfiles/entrypoint.sh

This file was deleted.

0 comments on commit abd7725

Please sign in to comment.