alessandro trinca tornidor commited on
Commit ·
e502c13
1
Parent(s): 73b8d5f
ci: revert breaking change for the docker build on hf.co, bump to version 0.7.2
Browse files- Dockerfile +5 -3
- pyproject.toml +1 -1
Dockerfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
FROM registry.gitlab.com/aletrn/my_ghost_writer_base:0.7.
|
| 2 |
|
| 3 |
LABEL authors="trincadev"
|
| 4 |
|
|
@@ -26,8 +26,10 @@ RUN ls -lAd ${NLTK_DATA} ${NLTK_DATA}/*
|
|
| 26 |
RUN ls -lA ${HOME}/
|
| 27 |
RUN ls -lA ${HOME}/.cache ${HOME}/.cache/pip
|
| 28 |
RUN ls -lAd ${HOME}/.cache ${HOME}/.cache/pip
|
| 29 |
-
|
| 30 |
-
COPY --chown=python:python ./
|
|
|
|
|
|
|
| 31 |
COPY --chown=python:python ./my_ghost_writer.txt ./lite.koboldai.net.txt ${HOME}/
|
| 32 |
RUN ls -l ${HOME}/lite.koboldai.net.txt ${HOME}/my_ghost_writer.txt
|
| 33 |
|
|
|
|
| 1 |
+
FROM registry.gitlab.com/aletrn/my_ghost_writer_base:0.7.2
|
| 2 |
|
| 3 |
LABEL authors="trincadev"
|
| 4 |
|
|
|
|
| 26 |
RUN ls -lA ${HOME}/
|
| 27 |
RUN ls -lA ${HOME}/.cache ${HOME}/.cache/pip
|
| 28 |
RUN ls -lAd ${HOME}/.cache ${HOME}/.cache/pip
|
| 29 |
+
# keep the ./lite.koboldai.net*, ./my_ghost_writer* syntax to avoid errors on HF docker build
|
| 30 |
+
COPY --chown=python:python ./lite.koboldai.net* ${HOME}/lite.koboldai.net
|
| 31 |
+
COPY --chown=python:python ./my_ghost_writer* ${HOME}/my_ghost_writer
|
| 32 |
+
# copy also the files lists within the HOME folfder
|
| 33 |
COPY --chown=python:python ./my_ghost_writer.txt ./lite.koboldai.net.txt ${HOME}/
|
| 34 |
RUN ls -l ${HOME}/lite.koboldai.net.txt ${HOME}/my_ghost_writer.txt
|
| 35 |
|
pyproject.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
[project]
|
| 2 |
name = "my-ghost-writer"
|
| 3 |
-
version = "0.7.
|
| 4 |
description = "A simple webapp supporting writers"
|
| 5 |
authors = [
|
| 6 |
{name = "alessandro trinca tornidor",email = "alessandro@trinca.tornidor.com"}
|
|
|
|
| 1 |
[project]
|
| 2 |
name = "my-ghost-writer"
|
| 3 |
+
version = "0.7.2"
|
| 4 |
description = "A simple webapp supporting writers"
|
| 5 |
authors = [
|
| 6 |
{name = "alessandro trinca tornidor",email = "alessandro@trinca.tornidor.com"}
|