uhhh
This commit is contained in:
parent
753756004a
commit
b7b0f7ae9f
2 changed files with 4 additions and 6 deletions
|
@ -1,12 +1,10 @@
|
||||||
FROM busybox:glibc
|
FROM busybox:glibc
|
||||||
|
|
||||||
COPY tini /tini
|
|
||||||
COPY utils/http-server-rs/target/release/http-server /bin
|
COPY utils/http-server-rs/target/release/http-server /bin
|
||||||
COPY --from=base /lib/x86_64-linux-gnu/libgcc_s.so.1 /lib
|
COPY --from=base /lib/x86_64-linux-gnu/libgcc_s.so.1 /lib
|
||||||
|
|
||||||
RUN mkdir -p /srv/repo
|
RUN mkdir -p /var/www
|
||||||
|
WORKDIR /var/www
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
|
||||||
CMD ["http-server", "--chdir", "/srv/repo"]
|
ENTRYPOINT ["http-server"]
|
||||||
ENTRYPOINT ["/tini", "--"]
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 91fee3387a4d287d219f23dddf8b065094ecf465
|
Subproject commit 0e054b83dfba2d196fe24bb95c0b611282e145f7
|
Loading…
Add table
Reference in a new issue