diff --git a/Dockerfile b/Dockerfile index 1d4459d4..be56cff3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,18 +1,19 @@ FROM alpine:3.16 + RUN apk update && \ - apk --no-cache add tzdata && \ - apk --no-cache add ca-certificates && rm -rf /var/cache/apk/* + apk --no-cache add tzdata ca-certificates && \ + rm -rf /var/cache/apk/* -COPY dist/venom.linux-amd64 /usr/local/venom +COPY dist/venom.linux-amd64 /usr/local/bin/venom +RUN chmod +x /usr/local/bin/venom VOLUME /workdir/results VOLUME /workdir/tests WORKDIR /workdir -ENTRYPOINT ["/usr/local/venom"] - -ENV VENOM_OUTPUT_DIR=/workdir/results -ENV VENOM_LIB_DIR=/workdir/tests/lib -ENV VENOM_VERBOSE=1 +ENV VENOM_OUTPUT_DIR=/workdir/results \ + VENOM_LIB_DIR=/workdir/tests/lib \ + VENOM_VERBOSE=1 -CMD [ "run", "./tests/*.y*ml"] \ No newline at end of file +ENTRYPOINT ["/usr/local/bin/venom"] +CMD ["run", "./tests/*.y*ml"] \ No newline at end of file