FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
fastapi-admin/Dockerfile at dev · fastapi-admin/fastapi-admin · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
fastapi-admin
/
fastapi-admin
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
466
Star
3.8k
Code
Issues
63
Pull requests
15
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
fastapi-admin
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
15 lines (14 loc) · 580 Bytes
Breadcrumbs
fastapi-admin
/
Dockerfile
Copy path
File metadata and controls
15 lines (14 loc) · 580 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
FROM
python:3.9 as builder
ENV
CRYPTOGRAPHY_DONT_BUILD_RUST=1
RUN
mkdir -p /fastapi-admin
WORKDIR
/fastapi-admin
COPY
pyproject.toml poetry.lock /fastapi-admin/
ENV
POETRY_VIRTUALENVS_CREATE false
RUN
pip install --upgrade pip && pip3 install poetry && poetry install --no-root
COPY
. /fastapi-admin
RUN
poetry install && make compile
FROM
python:3.9-slim
WORKDIR
/fastapi-admin
COPY
--from=builder /usr/local/lib/python3.9/site-packages /usr/local/lib/python3.9/site-packages
COPY
--from=builder /usr/local/bin/ /usr/local/bin/
COPY
--from=builder /fastapi-admin /fastapi-admin
Back
|
FazBrowse Home
|
New Git URL