Fix docker build
This commit is contained in:
parent
ce4e2b2b1b
commit
a5032ed440
4 changed files with 5 additions and 4 deletions
1
.github/workflows/docker.yml
vendored
1
.github/workflows/docker.yml
vendored
|
@ -20,6 +20,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
uv python pin ${{ matrix.python-version }}
|
uv python pin ${{ matrix.python-version }}
|
||||||
uv sync
|
uv sync
|
||||||
|
rm -rf build/* dist/* *.egg-info
|
||||||
uv build --wheel --out-dir dist
|
uv build --wheel --out-dir dist
|
||||||
- name: Build the Docker image
|
- name: Build the Docker image
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -19,7 +19,7 @@ RUN chmod +x usr/local/bin/docker-init.sh
|
||||||
RUN cd /
|
RUN cd /
|
||||||
COPY dist/${STACOSYS_FILENAME} /
|
COPY dist/${STACOSYS_FILENAME} /
|
||||||
RUN python3 -m pip install ${STACOSYS_FILENAME} --target /stacosys
|
RUN python3 -m pip install ${STACOSYS_FILENAME} --target /stacosys
|
||||||
#RUN rm -f ${STACOSYS_FILENAME}
|
RUN rm -f ${STACOSYS_FILENAME}
|
||||||
|
|
||||||
WORKDIR /stacosys
|
WORKDIR /stacosys
|
||||||
CMD ["docker-init.sh"]
|
CMD ["docker-init.sh"]
|
||||||
|
|
|
@ -6,4 +6,4 @@ cp -f stacosys/run.py .
|
||||||
python3 run.py /config/config.ini
|
python3 run.py /config/config.ini
|
||||||
|
|
||||||
# catch for debug
|
# 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]]
|
[[package]]
|
||||||
name = "stacosys"
|
name = "stacosys"
|
||||||
version = "3.4"
|
version = "3.4"
|
||||||
source = { virtual = "." }
|
source = { editable = "." }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "background" },
|
{ name = "background" },
|
||||||
{ name = "flask" },
|
{ name = "flask" },
|
||||||
|
|
Loading…
Add table
Reference in a new issue