mirror of
https://zotify.xyz/zotify/zotify.git
synced 2024-11-12 18:04:34 +01:00
Fix Dockerfile
This commit is contained in:
parent
2e348b90d1
commit
7baa1605b4
1 changed files with 3 additions and 3 deletions
|
@ -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"]
|
||||||
|
|
Loading…
Reference in a new issue