Spaces:
Running
Running
Commit
·
4a163b8
1
Parent(s):
bed11dd
Enforce light mode
Browse files
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
__pycache__
|
Dockerfile
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
FROM python:3.13.5-slim
|
2 |
|
|
|
3 |
WORKDIR /app
|
4 |
|
5 |
RUN apt-get update && apt-get install -y \
|
@@ -8,8 +9,8 @@ RUN apt-get update && apt-get install -y \
|
|
8 |
git \
|
9 |
&& rm -rf /var/lib/apt/lists/*
|
10 |
|
11 |
-
COPY requirements.txt
|
12 |
-
COPY .
|
13 |
|
14 |
RUN pip3 install -r requirements.txt
|
15 |
|
|
|
1 |
FROM python:3.13.5-slim
|
2 |
|
3 |
+
RUN useradd -m -u 1000 user
|
4 |
WORKDIR /app
|
5 |
|
6 |
RUN apt-get update && apt-get install -y \
|
|
|
9 |
git \
|
10 |
&& rm -rf /var/lib/apt/lists/*
|
11 |
|
12 |
+
COPY --chown=user ./requirements.txt requirements.txt
|
13 |
+
COPY --chown=user . /app
|
14 |
|
15 |
RUN pip3 install -r requirements.txt
|
16 |
|
src/__pycache__/__init__.cpython-311.pyc
DELETED
Binary file (168 Bytes)
|
|
src/__pycache__/colors.cpython-311.pyc
DELETED
Binary file (327 Bytes)
|
|
src/__pycache__/strings.cpython-311.pyc
DELETED
Binary file (7.4 kB)
|
|
src/__pycache__/utils.cpython-311.pyc
DELETED
Binary file (19.1 kB)
|
|