-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
25 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# PostgreSQL | ||
DB_USER=postgres | ||
DB_PASSWORD=password | ||
DB_NAME=data_handler | ||
DB_NAME=postgres | ||
DB_HOST=db | ||
DB_PORT=5432 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
FROM python:3.10 | ||
FROM python:3.12 | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
postgresql-client \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
WORKDIR /app | ||
|
||
RUN pip install poetry | ||
COPY legacy_app/pyproject.toml legacy_app/poetry.lock* ./ | ||
COPY pyproject.toml poetry.lock* ./ | ||
RUN poetry config virtualenvs.create false \ | ||
&& poetry install --no-interaction --no-ansi | ||
|
||
COPY legacy_app/src legacy_app/src | ||
COPY legacy_app/app.py . | ||
COPY legacy_app/update_data.py . | ||
|
||
CMD ["streamlit", "run", "dashboard.py"] | ||
&& poetry install --no-interaction --no-ansi --no-root | ||
|
||
COPY . . | ||
ENTRYPOINT ["../.entrypoint.sh"] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters