Renamed backend folder

This commit is contained in:
2023-05-16 23:21:14 +03:00
parent 9835954647
commit 4b158261db
5 changed files with 4 additions and 4 deletions

View File

@@ -6,9 +6,9 @@ COPY front .
RUN npm run build
FROM python:3-slim
WORKDIR /app
WORKDIR /srv
COPY requirements.txt .
RUN pip install --no-cache-dir --upgrade -r requirements.txt
COPY ./app ./app
COPY ./back ./back
COPY --from=builder /src/dist ./front/dist
CMD uvicorn app.main:app --host 0.0.0.0 --port 80
CMD uvicorn back.main:app --host 0.0.0.0 --port 80