Fix add PYTHONPATH to Dockerfile for Alembic module resolution
This commit is contained in:
@@ -20,6 +20,8 @@ COPY backend/ ./
|
|||||||
# Copy built frontend into static directory
|
# Copy built frontend into static directory
|
||||||
COPY --from=frontend-build /app/frontend/dist ./static
|
COPY --from=frontend-build /app/frontend/dist ./static
|
||||||
|
|
||||||
|
ENV PYTHONPATH=/app
|
||||||
|
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
|
||||||
# Run migrations then start server
|
# Run migrations then start server
|
||||||
|
|||||||
Reference in New Issue
Block a user