Skip to content

Commit

Permalink
fix docker image build pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
blankdots committed Mar 4, 2024
1 parent 2bf5a8e commit 2266114
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/int.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Collect logs from docker
if: ${{ failure() }}
run: cd deploy && docker-compose logs --no-color -t > ../tests/dockerlogs || true
run: cd deploy && docker-compose -f deploy/test/docker-compose.yml logs --no-color -t > ../tests/dockerlogs || true

- name: Persist log files
if: ${{ failure() }}
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN apk add --update \

COPY requirements.txt /root/minimal/requirements.txt
COPY README.md /root/minimal/README.md
COPY setup.py /root/minimal/setup.py
COPY pyproject.toml /root/minimal/pyproject.toml
COPY minimalpy /root/minimal/minimalpy

RUN pip install --upgrade pip && \
Expand All @@ -21,7 +21,7 @@ LABEL maintainer "blankdots"
LABEL org.label-schema.schema-version="1.0"
LABEL org.label-schema.vcs-url="https://github.com/blankdots/minimalpy"

COPY --from=BUILD usr/local/lib/python3.11/ usr/local/lib/python3.8/
COPY --from=BUILD usr/local/lib/python3.11/ usr/local/lib/python3.11/

COPY --from=BUILD /usr/local/bin/gunicorn /usr/local/bin/

Expand Down

0 comments on commit 2266114

Please sign in to comment.