-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
31 lines (22 loc) · 934 Bytes
/
Dockerfile
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
FROM python:3.14.0a1-bookworm
WORKDIR /app
COPY . .
RUN pip install -r requirements.txt
# Install MongoDB tools, MySQL client, PostgreSQL client, and cron
RUN apt-get update && \
wget https://fastdl.mongodb.org/tools/db/mongodb-database-tools-debian92-x86_64-100.3.1.deb && \
apt install -y --no-install-recommends ./mongodb-database-tools-*.deb && \
apt-get install -y --no-install-recommends default-mysql-client postgresql-client cron && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
rm -f mongodb-database-tools-*.deb
# Install AWS CLI
# RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
# unzip awscliv2.zip && \
# ./aws/install && \
# rm -rf awscliv2.zip aws
# Copy AWS configuration files
COPY .aws /root/.aws
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
CMD [ "tail", "-f", "/dev/null" ]