-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from Lucas-Palomo/master
Otimizações no Dockerfile
- Loading branch information
Showing
2 changed files
with
10 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,10 @@ | ||
FROM ubuntu | ||
|
||
RUN apt-get update && apt-get install -y python3.6 python3-pip | ||
RUN apt-get install --assume-yes git | ||
RUN pip3 install setuptools pip --upgrade --force-reinstall | ||
|
||
WORKDIR /usr/src/app | ||
|
||
RUN git clone https://github.com/eaglebh/blast-dbf.git | ||
RUN cd blast-dbf && make | ||
|
||
COPY requirements.txt /usr/src/app/requirements.txt | ||
COPY dbc2dbf.sh /usr/src/app/dbc2dbf.sh | ||
COPY dbf2csv.py /usr/src/app/dbf2csv.py | ||
COPY Makefile /usr/src/app/Makefile | ||
|
||
RUN pip3 install -r requirements.txt | ||
COPY ["requirements.txt", "dbc2dbf.sh", "dbf2csv.py", "Makefile", "./"] | ||
RUN apt-get update && \ | ||
apt-get install --assume-yes python3 python3-pip git && \ | ||
pip3 install setuptools pip --upgrade --force-reinstall && \ | ||
git clone https://github.com/eaglebh/blast-dbf.git && \ | ||
cd blast-dbf && \ | ||
make && \ | ||
pip3 install -r ../requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters