Fix docker build
This commit is contained in:
parent
ce4e2b2b1b
commit
a5032ed440
4 changed files with 5 additions and 4 deletions
3
.github/workflows/docker.yml
vendored
3
.github/workflows/docker.yml
vendored
|
@ -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: |
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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
2
uv.lock
generated
|
@ -411,7 +411,7 @@ wheels = [
|
|||
[[package]]
|
||||
name = "stacosys"
|
||||
version = "3.4"
|
||||
source = { virtual = "." }
|
||||
source = { editable = "." }
|
||||
dependencies = [
|
||||
{ name = "background" },
|
||||
{ name = "flask" },
|
||||
|
|
Loading…
Add table
Reference in a new issue