mirror of
https://zotify.xyz/zotify/zotify.git
synced 2024-11-10 01:02:06 +01:00
Upload New File
This commit is contained in:
parent
12d6cc4629
commit
aa05e76441
1 changed files with 18 additions and 0 deletions
18
Dockerfile
Normal file
18
Dockerfile
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
FROM python:3.9-alpine as base
|
||||||
|
|
||||||
|
RUN apk --update add git ffmpeg
|
||||||
|
|
||||||
|
FROM base as builder
|
||||||
|
RUN mkdir /install
|
||||||
|
WORKDIR /install
|
||||||
|
COPY requirements.txt /requirements.txt
|
||||||
|
RUN apk add gcc libc-dev zlib zlib-dev jpeg-dev \
|
||||||
|
&& pip install --prefix="/install" -r /requirements.txt
|
||||||
|
|
||||||
|
|
||||||
|
FROM base
|
||||||
|
|
||||||
|
COPY --from=builder /install /usr/local
|
||||||
|
COPY zotify /app
|
||||||
|
WORKDIR /app
|
||||||
|
ENTRYPOINT ["/usr/local/bin/python", "__main__.py"]
|
Loading…
Reference in a new issue