-
Notifications
You must be signed in to change notification settings - Fork 1
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
2 changed files
with
6 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,7 @@ | ||
# set base image (host OS) | ||
|
||
FROM python:3.10 | ||
|
||
# set the working directory in the container | ||
WORKDIR /app | ||
|
||
# install dependencies | ||
RUN pip install dynaconf | ||
RUN pip install fastapi | ||
RUN pip install uvicorn | ||
RUN pip install findmyorder | ||
|
||
# copy the content of the local src directory to the working directory | ||
COPY ./examples . | ||
|
||
RUN pip install -r requirements.txt | ||
COPY ./findmyorder/core.toml . | ||
EXPOSE 8443 8080 | ||
# command to run on container start | ||
CMD [ "python", "./example.py" ] |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
dynaconf>=3.1.12 | ||
fastapi>=0.95.1 | ||
uvicorn>=0.21.0 | ||
findmyorder>=0.0.12 |