Skip to content

Commit

Permalink
Fix poetry cannot install project because of the missing README file
Browse files Browse the repository at this point in the history
  • Loading branch information
nadzyah committed Jan 7, 2025
1 parent 611d5a9 commit 7be9d64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,13 @@ WORKDIR /home/server
EXPOSE 8080

ENV PYTHONPATH=/home/server
COPY poetry.lock .
COPY pyproject.toml .
COPY . .
RUN pip3 install poetry && \
poetry config virtualenvs.create false && \
poetry install --no-interaction --no-ansi

RUN apt update && apt install -y sqlite3

COPY . .

ARG IMPORT_TOOL_PATH=./scripts/import_from_c3.py
ARG DB_URL=sqlite:////home/server/hwapi.db
ENV DB_URL=$DB_URL
Expand Down
1 change: 1 addition & 0 deletions server/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version = "0.1.0"
description = "API server for working with hardware information from C3"
authors = []
readme = "README.md"
package-mode = false

[tool.poetry.dependencies]
python = "^3.10"
Expand Down

0 comments on commit 7be9d64

Please sign in to comment.