Fix Dockerfile

This commit is contained in:
DS 2022-02-16 17:19:01 +00:00
parent 2e348b90d1
commit 7baa1605b4

View file

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