-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathDockerfile
More file actions
36 lines (26 loc) · 912 Bytes
/
Dockerfile
File metadata and controls
36 lines (26 loc) · 912 Bytes
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
32
33
34
35
36
FROM amazonlinux:2023
LABEL maintainer="Mutation Maker https://github.com/Merck/Mutation_Maker"
# Basic Linux tools and Python 3.9
RUN yum update -y && \
yum -y install yum-utils && \
yum -y groupinstall development && \
yum -y install zlib-devel openssl-devel bzip2 bzip2-devel readline-devel sqlite-devel && \
yum -y install vim && \
yum -y install wget && \
yum -y install gcc && \
yum -y install python3 python3-pip python3-devel
# Set locale
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
# Create symbolic link for python
RUN ln -sf /usr/bin/python3 /usr/bin/python
# Upgrade pip (skip packages installed by RPM)
RUN python3 -m pip install --upgrade pip --ignore-installed packaging
# Install Python dependencies
COPY requirements.txt /var/tmp/
RUN python3 -m pip install -r /var/tmp/requirements.txt
RUN mkdir -p /lambda
COPY . /lambda
WORKDIR /lambda
EXPOSE 3001
CMD /bin/bash