FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
code-examples-python/Dockerfile at master · bliotti/code-examples-python · GitHub
bliotti
/
code-examples-python
Public
forked from
docusign/code-examples-python
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
code-examples-python
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
19 lines (13 loc) · 478 Bytes
Breadcrumbs
code-examples-python
/
Dockerfile
Copy path
File metadata and controls
19 lines (13 loc) · 478 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
start by pulling the python image
FROM
python:3.11.9-slim-bullseye
#
copy the requirements file into the image
COPY
./requirements.txt /app/requirements.txt
#
switch working directory
WORKDIR
/app
#
install the dependencies and packages in the requirements file
RUN
pip install -r requirements.txt
#
copy every content from the local file to the image
COPY
. /app
#
configure the container to run in an executed manner
ENTRYPOINT
[
"python"
]
CMD
[
"run.py"
,
"--docker"
]
Back
|
FazBrowse Home
|
New Git URL