Compare commits
No commits in common. "release" and "beta-2025.0.2" have entirely different histories.
release
...
beta-2025.
13
Dockerfile
13
Dockerfile
@ -1,13 +1,14 @@
|
|||||||
FROM python:latest
|
FROM debian:latest
|
||||||
RUN apt update && apt upgrade -y
|
RUN apt update && apt upgrade -y
|
||||||
RUN apt install locales -y
|
RUN apt install python3 python3-pip python3.11-venv locales -y
|
||||||
RUN mkdir /app
|
RUN mkdir /app
|
||||||
RUN mkdir /.venv
|
RUN mkdir /.venv
|
||||||
RUN mkdir /backup
|
RUN mkdir /backup
|
||||||
RUN mkdir /settings
|
RUN mkdir /settings
|
||||||
RUN pip install nicegui
|
RUN python3 -m venv /.venv
|
||||||
RUN pip install segno
|
RUN /.venv/bin/pip install nicegui
|
||||||
RUN pip install python-dateutil
|
RUN /.venv/bin/pip install segno
|
||||||
|
RUN /.venv/bin/pip install python-dateutil
|
||||||
|
|
||||||
RUN sed -i '/de_DE.UTF-8/s/^# //g' /etc/locale.gen && \
|
RUN sed -i '/de_DE.UTF-8/s/^# //g' /etc/locale.gen && \
|
||||||
locale-gen
|
locale-gen
|
||||||
@ -18,4 +19,4 @@ ENV LC_ALL de_DE.UTF-8
|
|||||||
COPY main.py /app/main.py
|
COPY main.py /app/main.py
|
||||||
COPY lib /app/lib/
|
COPY lib /app/lib/
|
||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
ENTRYPOINT ["python", "/app/main.py"]
|
ENTRYPOINT ["/.venv/bin/python", "/app/main.py"]
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
zeiterfassung:
|
zeiterfassung:
|
||||||
image: gitea.am-td.de/alexander/zeiterfassung:beta-2025.0.2
|
image: gitea.am-td.de/alexander/zeiterfassung:beta-2025.0.1
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 8090:8090
|
- 8090:8090
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user