Merge branch 'dsalmon-main-patch-26678' into 'main'

Fix Dockerfile

See merge request team-zotify/zotify!5
This commit is contained in:
Not Logykk 2022-02-17 07:23:14 +00:00
commit d04efb0794

View file

@ -1,6 +1,6 @@
FROM python:3.9-alpine as base FROM python:3.9-alpine as base
RUN apk --update add git ffmpeg RUN apk --update add ffmpeg
FROM base as builder FROM base as builder
RUN mkdir /install RUN mkdir /install
@ -13,6 +13,6 @@ RUN apk add gcc libc-dev zlib zlib-dev jpeg-dev \
FROM base FROM base
COPY --from=builder /install /usr/local COPY --from=builder /install /usr/local
COPY zotify /app COPY zotify /app/zotify
WORKDIR /app WORKDIR /app
ENTRYPOINT ["/usr/local/bin/python", "__main__.py"] ENTRYPOINT ["python3", "-m", "zotify"]