Dockerfile fixes

This commit is contained in:
Soxoj
2020-12-05 00:48:24 +03:00
parent d39b699744
commit ea01a33bcd
3 changed files with 19 additions and 3 deletions
+2 -1
View File
@@ -20,8 +20,9 @@ LABEL org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vcs-url=$VCS_URL
COPY --from=build /wheels /wheels
COPY . /opt/maigret/
RUN apk add git
RUN pip3 install -r requirements.txt -f /wheels \
&& rm -rf /wheels \
&& rm -rf /root/.cache/pip/*
ENTRYPOINT ["python", "maigret.py"]
ENTRYPOINT ["python", "maigret"]