-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (22 loc) · 754 Bytes
/
Copy pathDockerfile
File metadata and controls
28 lines (22 loc) · 754 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
# For more information, please refer to https://aka.ms/vscode-docker-python
FROM python:3.7-slim
# Keeps Python from generating .pyc files in the container
ENV PYTHONDONTWRITEBYTECODE=1
# Turns off buffering for easier container logging
ENV PYTHONUNBUFFERED=1
# Install pip requirements
WORKDIR /content
COPY requirements.txt .
RUN apt-get update \
&& apt-get install -y sudo \
&& apt-get install -y vim \
&& apt-get install -y gcc \
&& apt-get install -y g++ \
&& apt-get install -y cmake \
&& python -m pip install --upgrade pip \
&& python -m pip install jupyter \
&& python -m pip install -r requirements.txt
COPY . /content
EXPOSE 8888 8080
ENTRYPOINT ["/bin/sh"]
CMD ["./start.sh"]