-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
22 lines (20 loc) · 880 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM python:3.8.0-slim as builder
RUN apt-get update \
&& apt-get install gcc -y \
&& apt-get clean
COPY requirements.txt /app/requirements.txt
WORKDIR app
RUN pip install --user -r requirements.txt
COPY . /app
# Here is the production image
FROM python:3.8.0-slim as app
COPY --from=builder /root/.local /root/.local
# COPY --from=builder /app/main.py /app/main.py
ENV PATH=/root/.local/bin:$PATH
ADD https://github.com/DABAKER165/pepMeld/archive/master.tar.gz /pepMeld-master.tar.gz
# COPY pepMeld.tar.gz /
RUN cd / && tar -xzf pepMeld-master.tar.gz && rm pepMeld-master.tar.gz && mv pepMeld-master pepMeld
ADD http://drive5.com/muscle/downloads3.8.31/muscle3.8.31_i86linux64.tar.gz /muscle3.8.31_i86linux64.tar.gz
RUN cd / && tar -xzf muscle3.8.31_i86linux64.tar.gz && rm muscle3.8.31_i86linux64.tar.gz && mv muscle3.8.31_i86linux64 muscle
WORKDIR /pepMeld
CMD ["/bin/bash"]