Skip to content

Commit

Permalink
fix: provide path to dockerfile instead of entire directory
Browse files Browse the repository at this point in the history
  • Loading branch information
builder555 committed Nov 5, 2024
1 parent 1b5fdaf commit d12db0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,5 @@ jobs:
push: true
tags: builder555/hantek-station:latest
platforms: linux/amd64,linux/arm64,linux/arm/v7
context: ./server
context: .
file: ./server/Dockerfile
4 changes: 2 additions & 2 deletions server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ WORKDIR /app
RUN apt-get update && apt-get install -y curl gnupg2 ca-certificates lsb-release && apt-get clean
RUN curl -sSL https://install.python-poetry.org | python3 -

COPY . .
COPY ../ui/dist /app/static
COPY ./server .
COPY ./ui/dist /app/static

RUN poetry install --no-root

Expand Down

0 comments on commit d12db0c

Please sign in to comment.