Add docker
This commit is contained in:
18
Dockerfile
Normal file
18
Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
FROM python:3.7-alpine
|
||||
|
||||
COPY requirements.txt /
|
||||
|
||||
RUN apk add --update --no-cache --virtual .tmp-build-deps \
|
||||
make libffi-dev musl-dev gcc \
|
||||
&& apk add ffmpeg \
|
||||
&& pip3 install -r /requirements.txt
|
||||
|
||||
COPY audio /moai
|
||||
COPY settings.json /moai
|
||||
COPY main.py /moai
|
||||
|
||||
WORKDIR /moai
|
||||
|
||||
USER 1337
|
||||
|
||||
CMD ["python3", "main.py"]
|
||||
Reference in New Issue
Block a user