don't need that
This commit is contained in:
parent
77553a799a
commit
753756004a
2 changed files with 1 additions and 22 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1 +1 @@
|
|||
target/
|
||||
Dockerfile
|
||||
|
|
21
Dockerfile
21
Dockerfile
|
@ -1,21 +0,0 @@
|
|||
# THIS FILE IS AUTOMATICALLY GENERATED BY BUILD.SH
|
||||
# TO MODIFY DOCKERFILES, SEE THE DIRECTORY NAMED "dockerfiles"\n
|
||||
|
||||
# dockerfiles/00-base
|
||||
FROM debian AS base
|
||||
RUN apt update
|
||||
RUN --mount=type=cache,target=/var/cache apt install -y build-essential libssl-dev zlib1g-dev autoconf
|
||||
|
||||
# dockerfiles/02-final
|
||||
FROM busybox:glibc
|
||||
|
||||
COPY tini /tini
|
||||
COPY utils/http-server-rs/target/release/http-server /bin
|
||||
COPY --from=base /lib/x86_64-linux-gnu/libgcc_s.so.1 /lib
|
||||
|
||||
RUN mkdir -p /srv/repo
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
CMD ["http-server", "--chdir", "/srv/repo"]
|
||||
ENTRYPOINT ["/tini", "--"]
|
Loading…
Add table
Reference in a new issue