-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
38 lines (29 loc) · 915 Bytes
/
Dockerfile
File metadata and controls
38 lines (29 loc) · 915 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
# set base image (host OS)
FROM python:3.9.23
# Install jq so we can process JSON
RUN export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get install -y --fix-missing \
jq \
nano
#RUN apt-get update && apt-get install jq -y
# https://stackoverflow.com/questions/53835198/integrating-python-poetry-with-docker
ENV YOUR_ENV=${YOUR_ENV} \
PYTHONFAULTHANDLER=1 \
PYTHONUNBUFFERED=1 \
PYTHONHASHSEED=random \
PIP_NO_CACHE_DIR=off \
PIP_DISABLE_PIP_VERSION_CHECK=on \
PIP_DEFAULT_TIMEOUT=100 \
POETRY_VIRTUALENVS_CREATE=false \
POETRY_VERSION=1.1.13
# System deps:
RUN pip install "poetry==$POETRY_VERSION"
# set the working directory in the container
WORKDIR /work
RUN pip install schema-automator
RUN pip install appengine-python-standard
RUN pip install cruft
# AIRR requirements
RUN pip install airr
RUN mkdir /ak-schema
COPY . /ak-schema
RUN cd /ak-schema && make install