This repository was archived by the owner on Jul 20, 2023. It is now read-only.
forked from karandon24/Nana-Remix
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
69 lines (61 loc) · 1.37 KB
/
Copy pathDockerfile
File metadata and controls
69 lines (61 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# We're using Debian Slim Buster image
FROM python:3.9.0-slim-buster
ENV PIP_NO_CACHE_DIR 1
ENV DEBIAN_FRONTEND noninteractive
RUN sed -i.bak 's/us-west-2\.ec2\.//' /etc/apt/sources.list
# Installing Required Packages
RUN apt update && apt upgrade -y && \
apt install --no-install-recommends -y \
debian-keyring \
debian-archive-keyring \
bash \
curl \
git \
util-linux \
libffi-dev \
libjpeg-dev \
libjpeg62-turbo-dev \
libwebp-dev \
linux-headers-amd64 \
musl-dev \
musl \
neofetch \
python3-lxml \
postgresql \
postgresql-client \
libpq-dev \
libcurl4-openssl-dev \
libxml2-dev \
libxslt1-dev \
openssl \
pv \
jq \
wget \
python3-dev \
libreadline-dev \
libyaml-dev \
zlib1g \
ffmpeg \
libssl-dev \
libgconf-2-4 \
libxi6 \
zlib1g-dev \
xvfb \
unzip \
make \
libopus0 \
libopus-dev \
gcc \
&& rm -rf /var/lib/apt/lists /var/cache/apt/archives /tmp
# Pypi package Repo upgrade
RUN pip3 install --upgrade pip setuptools wheel
# Clone the fork to the workspace folder.
RUN git clone https://github.com/MadeByThePinsHub/Nana-Remix /app
WORKDIR /app
# Use env vars by default, because we're using Docker
# containners after all.
ENV ENV True
# Install deps using our Makefile
RUN make install
# Starting Worker
CMD ["make","run"]