Skip to content

Commit

Permalink
try to fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
a.pirogov committed Dec 16, 2021
1 parent f62617c commit 07f7dd1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 16 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,9 @@ RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

COPY pyproject.toml ./

COPY /fuji_server ./fuji_server

#RUN pip3 install .
COPY requirements.txt ./

RUN pip3 install --no-cache-dir -r requirements.txt
RUN pip3 install --no-cache-dir .

# Docker doesn't like 'localhost'
RUN sed -i "s|localhost|0.0.0.0 |g" ./fuji_server/config/server.ini
Expand Down
9 changes: 0 additions & 9 deletions MANIFEST.in

This file was deleted.

14 changes: 12 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors = [
"Anusuriya Devaraju <[email protected]>",
]
license = "MIT"
readme = "README.md"
#readme = "README.md"
homepage = "https://www.fairsfair.eu/f-uji-automated-fair-data-assessment-tool"
repository = "https://github.com/pangaea-data-publisher/fuji"
keywords=[
Expand All @@ -34,7 +34,17 @@ classifiers=[
packages = [
{ include = "fuji_server" }
]
include = ["docs/"]
include = [
"docs/**",
"fuji_server/data/*",
"fuji_server/static/*",
"fuji_server/yaml/*",
"fuji_server/config/*",
"AUTHORS.txt",
"CHANGELOG.md",
"LICENSE",
"README.md"
]

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

0 comments on commit 07f7dd1

Please sign in to comment.