-
-
Notifications
You must be signed in to change notification settings - Fork 81
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (20 loc) · 836 Bytes
/
Dockerfile
File metadata and controls
28 lines (20 loc) · 836 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
FROM python:3.12
WORKDIR /app
RUN apt-get update && \
apt-get -y install \
gcc python3-dev jq awscli nodejs \
python3-launchpadlib tree && \
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/local/bin
COPY pyproject.toml /app
COPY poetry.lock /app
ENV PYTHONPATH=${PYTHONPATH}:${PWD}
RUN pip3 install poetry
RUN poetry config virtualenvs.create false
RUN poetry install --without dev --no-root
RUN git config --global user.email "transfermarkt-datasets-ci@transfermark-datasets.dev" && \
git config --global user.name "CI Job" && \
git config --global core.sshCommand "ssh -o StrictHostKeyChecking=no"
# Creating folders, and files for a project:
COPY scripts/bootstrap.sh /app/
ENTRYPOINT ["/bin/bash", "bootstrap.sh"]
CMD ["master", "just", "streamlit_local"]