-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
32 lines (25 loc) · 897 Bytes
/
Dockerfile
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
FROM python:3.9.5-slim-buster
# Install system packages that are considered standard for all Python applications
RUN apt-get update && apt-get -y --no-install-recommends install \
# software-properties-common \
# build-essential \
make \
git \
python3-tk \
texlive-latex-base \
texlive-fonts-recommended \
texlive-fonts-extra \
&& apt-get -y autoremove \
&& apt-get clean autoclean
# Install application specific system packages
# RUN apt-get install -y PACKAGE
RUN pip install --upgrade pip
# Copy and install third party dependencies
# packages, thus the two COPY / RUN statement pairs should speed up rebuilds
COPY ./requirements.txt requirements.txt
RUN pip install -r requirements.txt
# RUN pre-commit install
# Copy the current directory contents into the container at /skydy
COPY . /skydy/
# Set the working directory to /skydy
WORKDIR /skydy