Skip to content

Commit 0e8c3a3

Browse files
authored
Create Dockerfile
1 parent c8e6bfe commit 0e8c3a3

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Dockerfile

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM python:latest
2+
RUN apt update && apt upgrade -y
3+
RUN apt install git pip curl python3-pip -y
4+
5+
ENV LANG en_US.UTF-8
6+
ENV LC_ALL en_US.UTF-8
7+
ENV LANGUAGE en_US:en
8+
ENV TZ=Asia/Kolkata DEBIAN_FRONTEND=noninteractive
9+
10+
WORKDIR /usr/src/app
11+
COPY . .
12+
RUN chmod 777 /usr/src/app
13+
14+
RUN pip3 install --upgrade pip setuptools wheel
15+
RUN pip3 install -r requirements.txt
16+
RUN apt-get -qq purge git && apt-get -y autoremove && apt-get -y autoclean
17+
18+
CMD ["bash", "start.sh"]

0 commit comments

Comments
 (0)