mirror of
https://github.com/tests-always-included/mo.git
synced 2024-12-22 01:37:47 +00:00
Introduce general improvements for Docker image
This commit is contained in:
parent
54195a6c6e
commit
14003ba24a
12
Dockerfile
12
Dockerfile
@ -1,11 +1,7 @@
|
||||
FROM alpine:3.13.4
|
||||
|
||||
COPY ./mo .
|
||||
RUN apk add --update bash && \
|
||||
chmod +x mo &&\
|
||||
mv mo /usr/local/bin/mo && \
|
||||
rm -rf /var/cache/apk/*
|
||||
RUN apk add --no-cache bash
|
||||
ADD mo /usr/local/bin/mo
|
||||
RUN chmod +x /usr/local/bin/mo
|
||||
|
||||
WORKDIR /opt
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/mo"]
|
||||
ENTRYPOINT usr/local/bin/mo
|
||||
|
Loading…
Reference in New Issue
Block a user