-
Notifications
You must be signed in to change notification settings - Fork 9
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
59 changed files
with
883 additions
and
366 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,12 +1,13 @@ | ||
.vscode | ||
__pycache__ | ||
.pytest_cache | ||
dist | ||
*.db | ||
*.ini | ||
*.log | ||
*credentials.json | ||
*.pickle | ||
.env | ||
venv | ||
.idea | ||
.vscode | ||
__pycache__ | ||
.pytest_cache | ||
dist | ||
*.db | ||
*.ini | ||
*.log | ||
*credentials.json | ||
*.pickle | ||
.env | ||
venv | ||
.idea | ||
*.egg-info |
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
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,23 +1,28 @@ | ||
FROM python:3.11-buster | ||
|
||
RUN mkdir app | ||
WORKDIR /app | ||
|
||
ENV PATH="${PATH}:/root/.local/bin" | ||
ENV PYTHONPATH=. | ||
|
||
RUN mkdir scripts | ||
|
||
COPY requirements.txt . | ||
COPY pyproject.toml . | ||
COPY alembic.ini.example alembic.ini | ||
COPY scripts/dev-entry.sh scripts/dev-entry.sh | ||
|
||
# Dev only | ||
COPY .env . | ||
|
||
RUN pip install --upgrade pip | ||
RUN pip install . | ||
|
||
EXPOSE 5000 | ||
CMD ["/bin/sh", "./scripts/dev-entry.sh"] | ||
FROM python:3.11-buster | ||
|
||
RUN mkdir app | ||
WORKDIR /app | ||
|
||
ENV PATH="${PATH}:/root/.local/bin" | ||
ENV PYTHONPATH=. | ||
|
||
RUN mkdir scripts | ||
|
||
COPY requirements.txt . | ||
COPY pyproject.toml . | ||
COPY alembic.ini.example alembic.ini | ||
COPY scripts/dev-entry.sh scripts/dev-entry.sh | ||
|
||
# Dev only | ||
COPY .env . | ||
|
||
RUN pip install --upgrade pip | ||
RUN pip install .'[deploy]' | ||
|
||
# Add this hack to line it up with our dev environment. | ||
# I'll buy whoever fixes this a coffee. | ||
RUN mkdir src | ||
RUN ln -s /app/appointment src/appointment | ||
|
||
EXPOSE 5000 | ||
CMD ["/bin/sh", "./scripts/dev-entry.sh"] |
Empty file.
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
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
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
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
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
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
Oops, something went wrong.