-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
44 lines (34 loc) · 998 Bytes
/
Dockerfile
File metadata and controls
44 lines (34 loc) · 998 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
37
38
39
40
41
42
43
44
FROM ubuntu:latest
RUN apt-get update && apt-get install -y \
software-properties-common \
apt-transport-https \
wget \
git \
&& rm -rf /var/lib/apt/lists/*
RUN apt-get update && \
apt-get install -y openjdk-11-jdk
ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64
ENV PATH $JAVA_HOME/bin:$PATH
RUN apt-get update && \
apt-get install -y maven
RUN java -version
RUN mvn -version
WORKDIR /usr/src/app
RUN apt-get install -y vim
RUN apt-get install -y python3
RUN apt-get update
RUN apt install -y python3-pip
RUN apt install -y python3.12-venv
RUN apt install -y libfuzzy-dev
ENV VIRTUAL_ENV=/opt/venv
RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
# COPY requirements.txt /usr/src/app/requirements.txt
# RUN pip3 install -r requirements.txt
# wget releases
# Copy the current directory contents into the container
# COPY *.py /usr/src/app/
# COPY utils utils
# COPY augmented_predictor augmented_predictor
# Run the application
CMD ["bash"]