Skip to content

Commit 784746a

Browse files
committed
start on a dockerfile
1 parent 3b06e61 commit 784746a

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.venv

Dockerfile

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
FROM python:slim
2+
3+
# RUN add-apt-repository ppa:mozillateam/ppa && \
4+
RUN apt-get update -y
5+
6+
RUN apt-get install -y \
7+
git \
8+
asciidoctor \
9+
# language-pack-en \
10+
ruby-pygments.rb \
11+
firefox-esr \
12+
tree \
13+
locales
14+
15+
RUN apt-get install -y \
16+
make \
17+
curl
18+
19+
RUN locale-gen en_GB.UTF-8
20+
# RUN pip install uv
21+
ADD --chmod=755 https://astral.sh/uv/install.sh /install.sh
22+
RUN /install.sh && rm /install.sh
23+
RUN ln -s $HOME/.cargo/bin/uv /usr/bin/uv
24+
25+
RUN git config --global user.email "[email protected]" && \
26+
git config --global user.name "Elspeth See-Eye" && \
27+
git config --global init.defaultBranch main
28+
29+
WORKDIR /app
30+
RUN uv venv .venv
31+
32+
COPY pyproject.toml pyproject.toml
33+
RUN uv pip install .
34+
35+
36+
CMD bash

0 commit comments

Comments
 (0)