mirror of
https://git.srhtnin.garden/sarah/SaraView.git
synced 2026-10-13 18:28:14 +02:00
Initial commit
This commit is contained in:
commit
8aa223bc7b
40 files changed
+4320
No files matched your search
+17
@@ -0,0 +1,17 @@
|
||||
FROM node:20-alpine AS FrontendBuild
|
||||
WORKDIR /Frontend
|
||||
COPY Frontend/package.json ./
|
||||
RUN npm install
|
||||
COPY Frontend/ ./
|
||||
RUN npm run build
|
||||
|
||||
FROM python:3.12-slim
|
||||
WORKDIR /App
|
||||
COPY Backend/requirements.txt ./
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
COPY Backend/ ./Backend/
|
||||
COPY --from=FrontendBuild /Frontend/dist ./Frontend/dist
|
||||
|
||||
WORKDIR /App/Backend
|
||||
EXPOSE 8420
|
||||
CMD ["uvicorn", "Main:Application", "--host", "0.0.0.0", "--port", "8420"]
|
||||
Reference in new issue
Block a user