Fix socials timestamp (#50)

* Fix Dockerfile per dipendenze di X
* time --> timestamp
* fix X command
This commit was merged in pull request #50.
This commit is contained in:
Giacomo Bertolazzi
2025-10-27 12:45:40 +01:00
committed by GitHub
parent 08774bee1b
commit 6a9d8b354b
10 changed files with 41 additions and 34 deletions

View File

@@ -2,10 +2,9 @@
FROM debian:bookworm-slim
# Installiamo le dipendenze di sistema
RUN apt-get update && \
apt-get install -y curl npm && \
RUN apt update && \
apt install -y curl && \
rm -rf /var/lib/apt/lists/*
RUN npm install -g rettiwt-api
# Installiamo uv
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
@@ -20,6 +19,11 @@ COPY uv.lock ./
RUN uv sync --frozen --no-dev
ENV PYTHONPATH="./src"
# Installiamo le dipendenze per X (rettiwt, nodejs e npm)
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
RUN apt install -y nodejs && rm -rf /var/lib/apt/lists/*
RUN npm install -g rettiwt-api
# Copiamo i file del progetto
COPY LICENSE ./
COPY src/ ./src/