Просмотр исходного кода

Print little-things version on build

master
JustAnotherArchivist 1 год назад
Родитель
Сommit
ef0ba5ad54
1 измененных файлов: 2 добавлений и 1 удалений
  1. +2
    -1
      Dockerfile

+ 2
- 1
Dockerfile Просмотреть файл

@@ -1,7 +1,8 @@
FROM python:3.11-alpine
COPY codearchiver-bot /app/codearchiver-bot
RUN apk add --no-cache bash coreutils curl git sed zstd
RUN git clone https://gitea.arpa.li/JustAnotherArchivist/little-things.git /app/little-things/
RUN git clone https://gitea.arpa.li/JustAnotherArchivist/little-things.git /app/little-things/ \
&& (cd /app/little-things/ && git rev-parse HEAD)
RUN pip install --no-cache-dir codearchiver
VOLUME /data
WORKDIR /data


Загрузка…
Отмена
Сохранить