deploy
This commit is contained in:
@@ -11,6 +11,8 @@ COPY backend/requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
COPY backend/ .
|
||||
COPY --from=frontend-builder /app/frontend/dist /app/dist
|
||||
RUN chmod +x entrypoint.sh
|
||||
RUN mkdir -p uploads
|
||||
EXPOSE 8000
|
||||
ENTRYPOINT ["./entrypoint.sh"]
|
||||
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
|
||||
|
||||
Reference in New Issue
Block a user