Fix docker build

This commit is contained in:
Yax 2024-12-14 14:21:19 +01:00
parent ce4e2b2b1b
commit a5032ed440
4 changed files with 5 additions and 4 deletions

View file

@ -19,7 +19,8 @@ jobs:
- name: Sync dependencies using uv
run: |
uv python pin ${{ matrix.python-version }}
uv sync
uv sync
rm -rf build/* dist/* *.egg-info
uv build --wheel --out-dir dist
- name: Build the Docker image
run: |

View file

@ -19,7 +19,7 @@ RUN chmod +x usr/local/bin/docker-init.sh
RUN cd /
COPY dist/${STACOSYS_FILENAME} /
RUN python3 -m pip install ${STACOSYS_FILENAME} --target /stacosys
#RUN rm -f ${STACOSYS_FILENAME}
RUN rm -f ${STACOSYS_FILENAME}
WORKDIR /stacosys
CMD ["docker-init.sh"]

View file

@ -6,4 +6,4 @@ cp -f stacosys/run.py .
python3 run.py /config/config.ini
# catch for debug
tail -f /dev/null
#tail -f /dev/null

2
uv.lock generated
View file

@ -411,7 +411,7 @@ wheels = [
[[package]]
name = "stacosys"
version = "3.4"
source = { virtual = "." }
source = { editable = "." }
dependencies = [
{ name = "background" },
{ name = "flask" },