-
Notifications
You must be signed in to change notification settings - Fork 175
/
Dockerfile
40 lines (30 loc) · 829 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
33
34
35
36
37
38
39
40
FROM python:slim
# -- WIP --
# this dockerfile is a work in progress,
# the vague intention is to use it for CI.
# RUN add-apt-repository ppa:mozillateam/ppa && \
RUN apt-get update -y
RUN apt-get install -y \
git \
asciidoctor \
# language-pack-en \
ruby-pygments.rb \
firefox-esr \
tree \
locales
RUN apt-get install -y \
make \
curl
RUN locale-gen en_GB.UTF-8
# RUN pip install uv
ADD --chmod=755 https://astral.sh/uv/install.sh /install.sh
RUN /install.sh && rm /install.sh
RUN ln -s $HOME/.cargo/bin/uv /usr/bin/uv
RUN git config --global user.email "[email protected]" && \
git config --global user.name "Elspeth See-Eye" && \
git config --global init.defaultBranch main
WORKDIR /app
RUN uv venv .venv
COPY pyproject.toml pyproject.toml
RUN uv pip install .
CMD bash