-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
30 lines (22 loc) · 776 Bytes
/
Copy pathDockerfile
File metadata and controls
30 lines (22 loc) · 776 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
# start from base
FROM ubuntu:20.04
LABEL maintainer="Christian Muise <christian.muise@queensu.ca>"
# install system-wide deps for python
RUN apt-get -yqq update
RUN apt-get -yqq install python3-pip python3-dev curl gnupg build-essential vim git
# copy our application code
RUN mkdir /PROJECT
WORKDIR /PROJECT
# install required elements
RUN pip3 install --upgrade pip
RUN pip3 install nnf
RUN pip3 install bauhaus
# install dsharp to run in the container
RUN curl https://mulab.ai/cisc-204/dsharp -o /usr/local/bin/dsharp
RUN chmod u+x /usr/local/bin/dsharp
# default command to execute when container starts
CMD /bin/bash
# Install Flask
RUN pip3 install Flask
# Make port 5000 available to the world outside this container
EXPOSE 5000