Skip to content

Commit bf3ce34

Browse files
committed
chore: tweaks
1 parent 1d1c0ab commit bf3ce34

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,15 @@ RUN apt update
1212
RUN apt install postgresql-client mariadb-client -y
1313

1414
RUN wget https://fastdl.mongodb.org/tools/db/mongodb-database-tools-debian10-x86_64-100.7.0.deb && \
15-
apt install ./mongodb-database-tools-*.deb && \
16-
rm -f mongodb-database-tools-*.deb
15+
dpkg -i ./mongodb-database-tools-*.deb && \
16+
rm -f mongodb-database-tools-*.deb && \
17+
apt-get install -f
18+
19+
RUN ldconfig
1720

1821
COPY Pipfile Pipfile.lock ./
1922
RUN pipenv sync
2023

2124
COPY src .
2225

23-
CMD [ "pipenv", "run", "python", "scheduler.py" ]
26+
CMD [ "pipenv", "run", "python", "scheduler.py" ]

0 commit comments

Comments
 (0)