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:
committed by
GitHub
parent
08774bee1b
commit
6a9d8b354b
10
Dockerfile
10
Dockerfile
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user