Skip to content

Commit

Permalink
Fix poetry in dockerfile (#115)
Browse files Browse the repository at this point in the history
* try to fix poetry issue when building server dockerfile

* oops
  • Loading branch information
HuxleyBerry authored Jan 17, 2025
1 parent 556dd7c commit a5399e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ COPY ./docker/server/entrypoint.sh /entrypoint.sh

COPY ./server/pyproject.toml ./server/poetry.lock ./

RUN poetry install
RUN poetry install --without dev

COPY ./server ./

Expand Down
3 changes: 2 additions & 1 deletion server/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[tool.poetry]
name = "api"
name = "server"
version = "0.1.0"
description = ""
authors = ["Coders for Causes"]
readme = "README.md"
package-mode = false

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

0 comments on commit a5399e1

Please sign in to comment.